Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryuni committed Mar 29, 2024
1 parent ab9821b commit 2acdbf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/example-deploys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
id: pages-branch-alias
with:
# git-branch input
git-branch: ${{ github.ref_name }}
git-branch: ${{ github.head_ref }}

- name: Build Packages
run: pnpm -w build
Expand All @@ -72,7 +72,7 @@ jobs:
run: git restore .

- name: Publish to Cloudflare Pages
run: pnpm dlx wrangler pages deploy dist --project-name 'inox-tools-ex-${{ matrix.example }}' --branch '${{ github.ref_name }}'
run: pnpm dlx wrangler pages deploy dist --project-name 'inox-tools-ex-${{ matrix.example }}' --branch '${{ github.head_ref }}'
working-directory: examples/${{ matrix.example }}
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
Expand Down

0 comments on commit 2acdbf5

Please sign in to comment.