Skip to content

Commit 3cc5c8e

Browse files
committed
fix deploy
1 parent 18d6ea4 commit 3cc5c8e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/canary-docs-preview.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,15 @@ jobs:
4242

4343
deploy:
4444
needs: generate-preview-artifact
45+
runs-on: ubuntu-latest
4546
environment:
4647
name: github-pages
4748
url: ${{ steps.deployment.outputs.page_url }}
48-
runs-on: ubuntu-latest
49+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
50+
permissions:
51+
contents: read
52+
pages: write
53+
id-token: write
4954
steps:
5055
- name: Deploy to GitHub Pages
5156
id: deployment

0 commit comments

Comments
 (0)