Skip to content

Commit

Permalink
update action scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
diversable committed Dec 13, 2023
1 parent 16eb2aa commit 3b77388
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/vercel_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ jobs:
cargo clippy
cargo fmt --check
- name: Trunk Build
run: trunk build --release
- name: Download and install Trunk binary
run: wget -qO- https://github.com/trunk-rs/trunk/releases/download/v0.17.5/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-


- name: Build with Trunk
run: ./trunk build --release

- name: Install Vercel CLI
run: npm install --global vercel@latest
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/vercel_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,15 @@ jobs:
- uses: jetli/trunk-action@v0.4.0
- name: Build
run: |
cargo build --verbose
rustup target add wasm32-unknown-unknown
trunk build --release
- name: Download and install Trunk binary
run: wget -qO- https://github.com/trunk-rs/trunk/releases/download/v0.17.5/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-


- name: Build with Trunk
run: ./trunk build --release

- name: Preview Deploy
id: deploy
uses: amondnet/vercel-action@v20
Expand Down

0 comments on commit 3b77388

Please sign in to comment.