Skip to content

Commit

Permalink
Update demo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nclslbrn authored Apr 26, 2024
1 parent 032003c commit 6e69529
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Simple workflow for deploying static content to GitHub Pages
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
Expand Down Expand Up @@ -31,21 +31,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4.0.2
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Build
run: npm run demo:build
- name: Setup Pages
uses: actions/configure-pages@v5.0.0
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
# Upload dist repository
path: './demo/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.5
uses: actions/deploy-pages@v4

0 comments on commit 6e69529

Please sign in to comment.