Skip to content

Deploy with Shuttle

Actions
Deploy code to production server using cargo-shuttle
0.4.1
Latest
Star (2)

Tags

 (1)

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

Deploy with Shuttle is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Deploy code to production server using cargo-shuttle
0.4.1
Latest

Tags

 (1)

Deploy with Shuttle is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.