Skip to content

Commit

Permalink
Set up Fly.io continuous deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
clownclown-tech committed Aug 9, 2024
1 parent 8a027ea commit 1811217
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,17 @@ on:

jobs:
deploy:
name: Deploy to Fly.io
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/checkout@v2

- name: Set up Flyctl
uses: superfly/flyctl-actions@v1
with:
version: latest
- name: Set up Fly.io
uses: superfly/flyctl-actions/setup-flyctl@master

- name: Deploy to Fly.io
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
run: |
flyctl deploy --app ${{ secrets.FLY_APP_NAME }}
- name: Deploy to Fly.io
run: |
flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 comments on commit 1811217

Please sign in to comment.