We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2229d00 commit 8fc3da1Copy full SHA for 8fc3da1
.github/workflows/static.yml
@@ -17,19 +17,12 @@ concurrency:
17
18
jobs:
19
deploy:
20
- environment:
21
- name: github-pages
22
- url: ${{ steps.deployment.outputs.page_url }}
23
runs-on: ubuntu-latest
24
steps:
25
- name: Checkout
26
- uses: actions/checkout@v3
27
- - name: Setup Pages
28
- uses: actions/configure-pages@v3
29
- - name: Upload artifact
30
- uses: actions/upload-pages-artifact@v3
+ uses: actions/checkout@v4
+ - name: Deploy static folder to GitHub Pages
+ uses: peaceiris/actions-gh-pages@v4
31
with:
32
- path: 'demo'
33
- - name: Deploy to GitHub Pages
34
- id: deployment
35
- uses: actions/deploy-pages@v1
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: ./demo
0 commit comments