We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 237efc1 + 4958cff commit 8b83598Copy full SHA for 8b83598
1 file changed
.github/workflows/prod-deploy.yml
@@ -11,14 +11,8 @@ jobs:
11
- name: checkout code
12
uses: actions/checkout@v3
13
14
- - name: Exit if not main
15
- run: |
16
- if [[ "${{ github.ref }}" != "refs/heads/main" ]]; then
17
- echo "Branch is not main, exiting."
18
- exit 0
19
- fi
20
-
21
- name: deploy-theme
+ if: github.ref == 'refs/heads/main'
22
run: |
23
chown -R :client .
24
chmod -R g+w .
0 commit comments