Connecting your GitHub account via the GitHub integration is easier and simpler for automatic deployments. However, if your deployment requires building other static assets like React or Vue builds, you’ll need to set up a custom GitHub Action and run the build script first before deploying to Shuttle. Shuttle provides a GitHub Action for automating deployments. This action can run theDocumentation Index
Fetch the complete documentation index at: https://docs.shuttle.dev/llms.txt
Use this file to discover all available pages before exploring further.
shuttle deploy command for you, enabling continuous deployments on every push.
Here’s an example of a GitHub Actions workflow that uses the Shuttle Deploy Action:
Inputs
| Name | Description | Required | Default |
|---|---|---|---|
| shuttle-api-key | The Shuttle API key | true | N/A |
| project-id | Project ID, starts with proj_ | true | N/A |
| cargo-shuttle-version | Version of cargo-shuttle | false | "" (latest) |
| working-directory | The cargo workspace root | false | "." |
| secrets | Content of the secrets.toml file, if any | false | "" |
| extra-args | Extra args to the deploy command | false | "" |

