Skip to content

Commit

Permalink
ci: fix deployment action permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Aug 6, 2023
1 parent 6f7cfb5 commit 28af83c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ jobs:
- run: mkdir _site && cp README.md _site/

- id: publish
env:
GITHUB_HEAD_REF: ${{ github.event.merge_commit_sha || github.event.head_commit.id }}
uses: cloudflare/pages-action@f0a1cd58cd66095dee69bfa18fa5efd1dde93bca # v1.5.0
with:
apiToken: ${{ env.CLOUDFLARE_API_TOKEN }}
Expand Down

0 comments on commit 28af83c

Please sign in to comment.