Skip to content

Commit

Permalink
ci: update actions used in gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
QuadnucYard committed Feb 11, 2025
1 parent f04d280 commit bc42bea
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ jobs:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Install the latest version of rye
uses: eifinger/setup-rye@v3
uses: eifinger/setup-rye@v4
with:
enable-cache: true
cache-prefix: 'typstyle-rye'

- name: Build wasm
run: |
cd crates/typstyle-core
Expand All @@ -55,6 +56,7 @@ jobs:
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Build demo
run: |
cd web
Expand All @@ -64,13 +66,14 @@ jobs:
run: |
rye sync
rye run docs-build
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
# Upload `/github-pages` sub directory
path: "site"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit bc42bea

Please sign in to comment.