Skip to content

Commit

Permalink
Publish the demo to GitHub pages
Browse files Browse the repository at this point in the history
Refs #261
  • Loading branch information
remcohaszing committed Feb 23, 2023
1 parent c406d37 commit 69ce550
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: demo

on:
push:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- run: npx --workspace demo webpack --mode production
- uses: actions/upload-pages-artifact@v1
with:
path: demo/dist
- uses: actions/deploy-pages@v1
id: deployment

0 comments on commit 69ce550

Please sign in to comment.