update action to use prod branch
This commit is contained in:
parent
c7d8c8b104
commit
1b3744baa2
2
.github/workflows/frontend-pages.yml
vendored
2
.github/workflows/frontend-pages.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commitHash: ${{ steps.push-changes.outputs.commit-hash }}
|
commitHash: ${{ steps.push-changes.outputs.commit-hash }}
|
||||||
- name: Purge cache
|
- name: Purge cache
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/prod'
|
||||||
run: |
|
run: |
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Authorization: Bearer ${{ secrets.CF_API_TOKEN }}" \
|
-H "Authorization: Bearer ${{ secrets.CF_API_TOKEN }}" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user