Skip to content

Commit 47d96b2

Browse files
committed
Try providing the env variable another way
1 parent 4784fd6 commit 47d96b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,17 +155,17 @@ jobs:
155155

156156
- name: Set up Fly
157157
uses: superfly/flyctl-actions/[email protected]
158+
env:
159+
CLOUDINARY_URL: ${{ secrets.CLOUDINARY_URL }}
158160

159161
- name: Deploy Staging
160162
if: ${{ github.ref == 'refs/heads/dev' }}
161163
run: flyctl deploy --remote-only --build-arg COMMIT_SHA=${{ github.sha }} --app ${{ steps.app_name.outputs.value }}-staging
162164
env:
163165
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
164-
CLOUDINARY_URL: ${{ secrets.CLOUDINARY_URL }}
165166

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

0 commit comments

Comments
 (0)