Skip to content

Commit 562ca75

Browse files
authored
use main (#8)
1 parent 1acc399 commit 562ca75

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/deploy.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ name: Deploy
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches:
6+
- main
67
workflow_dispatch:
78
branches:
8-
- master
9+
- main
910

1011
permissions: read-all
1112

@@ -16,7 +17,7 @@ jobs:
1617
with:
1718
environment: dev3
1819
secrets: inherit
19-
#if: github.ref == 'refs/heads/master'
20+
#if: github.ref == 'refs/heads/main'
2021

2122
deploy_to_prod1:
2223
name: Deploy to prod 1
@@ -25,7 +26,7 @@ jobs:
2526
environment: prod1
2627
secrets: inherit
2728
needs: deploy_to_dev3
28-
if: github.ref == 'refs/heads/master'
29+
if: github.ref == 'refs/heads/main'
2930

3031
deploy_to_prod2:
3132
name: Deploy to prod 2
@@ -34,4 +35,4 @@ jobs:
3435
environment: prod2
3536
secrets: inherit
3637
needs: deploy_to_dev3
37-
if: github.ref == 'refs/heads/master'
38+
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)