Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.07 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.07 KB

shuttle-deploy

Github Actions repo for deploying to https://shuttle.rs

Quickstart

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 }}

Parameters

* = 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.

Common Errors

  • 404 not found - This usually means that your Shuttle project does not exist. To solve this issue ensure that you have run cargo shuttle init and cargo shuttle project start to initialize the project on your shuttle console