Skip to content

Commit fa906a2

Browse files
committed
test: fix deploy script
1 parent 3ccd861 commit fa906a2

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/pages.yaml

+10-5
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,13 @@ jobs:
3232
cd ../
3333
- name: Build
3434
run: npm run build
35-
- name: Deploy
36-
uses: peaceiris/actions-gh-pages@v3
37-
with:
38-
github_token: ${{ secrets.GITHUB_TOKEN }}
39-
publish_dir: ./website
35+
deploy:
36+
environment:
37+
name: github-pages
38+
url: ${{ steps.deployment.outputs.page_url }}
39+
runs-on: ubuntu-latest
40+
needs: pages
41+
steps:
42+
- name: Deploy to GitHub Pages
43+
id: deployment
44+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)