From 4784fd6dc68a4b977465adeed83c1771bcc99a6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Marohni=C4=87?= Date: Sat, 30 Mar 2024 01:50:33 +0100 Subject: [PATCH] Provide Cloudinary URL to deployment Hopefully this way it'll build Docker image successfully. --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f1375b4b..785f1955 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }}