Skip to content

Commit

Permalink
Provide Cloudinary URL to deployment
Browse files Browse the repository at this point in the history
Hopefully this way it'll build Docker image successfully.
  • Loading branch information
silvenon committed Mar 30, 2024
1 parent eda2d83 commit 4784fd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,11 @@ jobs:
run: flyctl deploy --remote-only --build-arg COMMIT_SHA=${{ github.sha }} --app ${{ steps.app_name.outputs.value }}-staging
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
CLOUDINARY_URL: ${{ secrets.CLOUDINARY_URL }}

- name: Deploy Production
if: ${{ github.ref == 'refs/heads/main' }}
run: flyctl deploy --remote-only --build-arg COMMIT_SHA=${{ github.sha }} --app ${{ steps.app_name.outputs.value }}
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
CLOUDINARY_URL: ${{ secrets.CLOUDINARY_URL }}

0 comments on commit 4784fd6

Please sign in to comment.