Skip to content

Commit

Permalink
Dry run on non-main
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperAuguste committed Apr 10, 2024
1 parent 08e4f26 commit c8c5b64
Show file tree
Hide file tree
Showing 4 changed files with 548 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish-simulator.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Publish Simulator
on:
push:
branches: [main]
paths:
- simulator/**
pull_request:

jobs:
build:
Expand All @@ -28,9 +26,10 @@ jobs:
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 c8c5b64

Please sign in to comment.