Skip to content

Commit e096eaf

Browse files
authored
ci: Remove cache priming from deploy-version workflow (#78)
Since this endpoint is not implemented yet.
1 parent fd1ecea commit e096eaf

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

.github/workflows/deploy-version.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff 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 }}"

0 commit comments

Comments
 (0)