ambitious-dress-27882
10/21/2022, 4:48 PM# using cargo-quickinstall because it is faster to get shuttle-cli binary
cargo install cargo-quickinstall
cargo quickinstall cargo-shuttle
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
Updating crates.io index
error: binary `cargo-quickinstall` already exists in destination
Add --force to overwrite
Error: Process completed with exit code 101.
My full action is here:
name: Shuttle deploy
on:
push:
branches:
- "main"
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Create Secrets.toml File
run: echo "DISCORD_TOKEN = '${{ secrets.DISCORD_API_TOKEN }}'" > Secrets.toml
- name: Update cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Deploy to shuttle
uses: shuttle-hq/deploy-action@main
with:
deploy-key: ${{ secrets.SHUTTLE_DEPLOY_KEY }}
allow-dirty: "true"stocky-kangaroo-53672
10/21/2022, 6:01 PMambitious-dress-27882
10/21/2022, 7:55 PMstocky-kangaroo-53672
10/22/2022, 6:23 AM