Skip to content

Commit 82bb053

Browse files
committed
gh pages commit
1 parent d269336 commit 82bb053

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@ on:
55
branches:
66
- main
77

8+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
814
jobs:
915
deploy:
16+
environment:
17+
name: github-pages
18+
url: ${{ steps.deployment.outputs.page_url }}
1019
runs-on: ubuntu-latest
1120
steps:
1221
- uses: actions/checkout@v4
@@ -20,6 +29,5 @@ jobs:
2029
path: '.'
2130

2231
- name: Deploy to GitHub Pages
23-
uses: actions/deploy-pages@v4
24-
with:
25-
token: ${{ secrets.WF_TOKEN }}
32+
id: deployment
33+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)