diff --git a/.github/workflows/deploy-to-production-on-merge-to-main.yaml b/.github/workflows/deploy-to-production-on-merge-to-main.yaml index d19906d2..68b36adf 100644 --- a/.github/workflows/deploy-to-production-on-merge-to-main.yaml +++ b/.github/workflows/deploy-to-production-on-merge-to-main.yaml @@ -33,6 +33,10 @@ jobs: key: cargo-${{ hashFiles('**/Cargo.lock') }} - name: Build the Leptos project to `musl` output run: nix-shell --run 'cargo leptos build --release' + - name: Deploy a docker container to Fly.io + run: nix-shell --run 'fly deploy' + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} # - name: Authenticate to Google Cloud # uses: google-github-actions/auth@v1 # with: