Skip to content

Commit

Permalink
Fix sim CI (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperAuguste authored Apr 10, 2024
1 parent c6a68f9 commit f4ce5eb
Show file tree
Hide file tree
Showing 4 changed files with 551 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish-simulator.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Publish Simulator
on:
push:
branches: [main]
paths:
- simulator/**
pull_request:
paths:
- simulator/**

Expand All @@ -20,16 +22,18 @@ jobs:
- name: Build simulator
run: |
cd simulator
npm ci
npm run build
touch dist/.nojekyll
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v1
with:
# this should match the `pages` option in your adapter-static options
path: "dist/"
path: "simulator/dist/"

deploy:
if: github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion simulator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Simulate your badge on the interwebz.

## Additional Features

- [ ] Live reload
- [x] Live reload
Loading

0 comments on commit f4ce5eb

Please sign in to comment.