File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ name: Deploy
22
33on :
44 push :
5- branches : [ master ]
5+ branches :
6+ - main
67 workflow_dispatch :
78 branches :
8- - master
9+ - main
910
1011permissions : read-all
1112
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
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
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 '
You can’t perform that action at this time.
0 commit comments