Skip to content

Commit

Permalink
ci: build and deploy docker container to Fly.io
Browse files Browse the repository at this point in the history
  • Loading branch information
saikatdas0790 committed Nov 13, 2023
1 parent 7103ca2 commit 3a57c67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-to-production-on-merge-to-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3a57c67

Please sign in to comment.