File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -164,16 +164,3 @@ jobs:
164164 --image registry.fly.io/${{ vars.FLY_STAGING_CMS_APP }}:v${{ inputs.version_with_sha }} \
165165 env :
166166 FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
167- - name : Wait 30s for app to become ready
168- if : inputs.environment != 'preview'
169- run : sleep 30
170- - name : Prime frontend cache
171- if : inputs.environment != 'preview'
172- # We rely here on the frontend deployment being significantly faster
173- # – We can't make cache priming a separate job because we need an environment secret
174- # - We should anyway add some logic to synchronize the deployments (or simply merge them)
175- run : |
176- curl "${{ inputs.environment == 'preview' && format('https://{0}.fly.dev', steps.create-app.outputs.app_name) || vars.SERVER_URL }}/api/prime-frontend-cache" \
177- -f -s -S \
178- -X POST \
179- -H "Authorization: api-keys API-Key ${{ secrets.CMS_API_KEY }}"
You can’t perform that action at this time.
0 commit comments