Skip to content

Commit

Permalink
added branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
aexol committed Nov 13, 2023
1 parent cd114bf commit 9cb03b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
branches:
- develop
branches-ignore:
- master
jobs:
develop:
runs-on: ubuntu-latest
Expand All @@ -28,7 +28,7 @@ jobs:

continue-on-error: true
- name: Publish output
run: npx wrangler pages deploy ./packages/sandbox/out --branch develop --project-name graphql-editor-dev
run: npx wrangler pages deploy ./packages/sandbox/out --branch ${GITHUB_REF##*/} --project-name graphql-editor-dev
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

0 comments on commit 9cb03b1

Please sign in to comment.