Skip to content

Commit

Permalink
ci(github actions): updated GitHub Pages deployment workflow to use l…
Browse files Browse the repository at this point in the history
…atest GitHub Actions versions (#43)
  • Loading branch information
flamingquaks authored May 16, 2024
1 parent 1444949 commit f4688d6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Install packages
run: npm ci
- name: Build Pages
run: |
npm run docs:build
touch pages/.vitepress/dist/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: pages/.vitepress/dist

Expand All @@ -48,6 +48,6 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4


0 comments on commit f4688d6

Please sign in to comment.