Skip to content

Commit

Permalink
ci: call shuttle deploy direction instead of action
Browse files Browse the repository at this point in the history
  • Loading branch information
c-git committed Dec 23, 2024
1 parent 5a836ba commit a61c2a9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/shuttle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,18 @@ jobs:
target: wasm32-unknown-unknown
- name: Load sqlx query files for shuttle version
run: cargo run --bin switch-db -- --no-edit-only-copy shuttle
- name: Install Trunk
- name: Install Trunk and Cargo-Shuttle
uses: taiki-e/install-action@main
with:
tool: trunk
tool: trunk,cargo-shuttle
- name: Build client
run: ./scripts/build_chat_client.sh
- name: Include git diff for debug
run: git diff
- name: Include git status for debug
run: git status
- uses: shuttle-hq/deploy-action@v2
with:
shuttle-api-key: ${{ secrets.SHUTTLE_API_KEY }}
project-id: ${{ secrets.SHUTTLE_PROJ_ID }}
- name: Deploy to Shuttle
run: shuttle deploy --id ${{ secrets.SHUTTLE_PROJ_ID }}
env:
SHUTTLE_API_KEY: ${{ secrets.SHUTTLE_API_KEY }}
shell: bash

0 comments on commit a61c2a9

Please sign in to comment.