Github Actions repo for deploying to https://shuttle.rs
name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
concurrency: production
jobs:
deploy:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v3
- uses: hypercodec/shuttle-deploy@latest
with:
api_key: ${{ secrets.SHUTTLE_API_KEY }}* = required
- api_key* - Your shuttle.rs API key. For security reasons, please use Github Secrets so you don't leak access to your Shuttle account.
- project_name - The name of the Shuttle project.
- path - The path to your Shuttle project.
404 not found- This usually means that your Shuttle project does not exist. To solve this issue ensure that you have runcargo shuttle initandcargo shuttle project startto initialize the project on your shuttle console