Skip to content

Fix clippy lints in tests #41

Fix clippy lints in tests

Fix clippy lints in tests #41

name: Deploy server to Shuttle
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: printf "'AUTH_TOKEN' = '${{ secrets.AUTH_TOKEN }}'\n'DATABASE_URL' = '${{ secrets.DATABASE_URL }}'\n" http_server > http_server/Secrets.toml
- name: Install cargo-shuttle
run: |
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo binstall -y [email protected]
- name: Deploy to Shuttle
run: |
cargo shuttle deploy --allow-dirty --no-test --working-directory http_server/
env:
SHUTTLE_API_KEY: ${{ secrets.SHUTTLE_DEPLOY_KEY }}