Skip to content

Commit

Permalink
improve deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
randomairborne committed Jun 17, 2024
1 parent b2679d3 commit db6e46b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
- name: Check out code into the proper directory
uses: actions/checkout@v4

- name: Set up flyctl
uses: superfly/flyctl-actions/setup-flyctl@master

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -44,6 +41,14 @@ jobs:
tags: ghcr.io/${{ env.REPO }}:latest
platforms: linux/amd64

- run: flyctl deploy
deploy:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Set up flyctl
uses: superfly/flyctl-actions/setup-flyctl@master

- name: Update containers
run: flyctl deploy
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 comments on commit db6e46b

Please sign in to comment.