Skip to content

Commit

Permalink
Update static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wardenfeng authored Jun 18, 2024
1 parent 06bc73f commit f7a3acd
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,30 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: pnpm/[email protected]
with:
version: latest

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: latest
cache: 'pnpm'

- name: Install dependencies
run: pnpm i

- name: Lint
run: pnpm run docs

- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
path: './public'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit f7a3acd

Please sign in to comment.