chore(ci): fix cloudflare upload branch

This commit is contained in:
Kjeld Schouten
2024-10-23 11:47:12 +02:00
parent 259bc31071
commit 70633acc6c
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ jobs:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
# By default Cloudflare marks `main` as the "production" branch.
# So when this workflow is pushed to refs/heads/main, we set the branch to `main`/"production".
branch: ${{ github.ref == 'refs/heads/master' && 'master' || github.head_ref }}
branch: ${{ github.ref == 'refs/heads/master' && 'main' || github.head_ref }}
# The project name in Cloudflare
projectName: website
directory: ./website/build
View File