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 ea84fcc
Show file tree
Hide file tree
Showing 4 changed files with 547 additions and 8 deletions.
5 changes: 2 additions & 3 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 Down Expand Up @@ -31,6 +29,7 @@ jobs:
path: "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 ea84fcc

Please sign in to comment.