Skip to content

Commit

Permalink
Use branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltaranto committed Oct 31, 2024
1 parent 1e9e9d7 commit e484261
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/preview-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@ jobs:

- name: Deploy PR Preview
uses: JamesIves/github-pages-deploy-action@881db5376404c5c8d621010bcbec0310b58d5e29 # 4.6.0
env:
GH_SHA: ${{ GITHUB_SHA }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages-test
folder: ./site/dist
target-folder: ./${{GH_SHA}}
target-folder: ./_${{GITHUB_REF_NAME}}

- name: Update PR status
run: pnpm post-commit-status
Expand Down

0 comments on commit e484261

Please sign in to comment.