Skip to content

Commit

Permalink
Merge pull request #9 from probe-rs/Tiwalun-patch-1
Browse files Browse the repository at this point in the history
Don’t deploy from branches
  • Loading branch information
Tiwalun authored Jan 29, 2024
2 parents f0010e6 + c8e4372 commit 580a78e
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,11 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
trunk build --release
trunk build
- name: cargo fmt & clippy
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
cargo fmt --all -- --check
cargo clippy -- --deny=warnings
- name: Copy CNAME
run: |
cp CNAME dist/CNAME
- name: Deploy demo
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
clean: true

0 comments on commit 580a78e

Please sign in to comment.