Skip to content

Commit

Permalink
docs(static-deploy): update workflow (#15773)
Browse files Browse the repository at this point in the history
  • Loading branch information
BoringBoredom authored Mar 11, 2024
1 parent 8403546 commit 8c03060
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/guide/static-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,24 +98,24 @@ Now the `preview` command will launch the server at `http://localhost:8080`.
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm install
run: npm ci
- name: Build
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
# Upload dist repository
# Upload dist folder
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
```
## GitLab Pages and GitLab CI
Expand Down

0 comments on commit 8c03060

Please sign in to comment.