Skip to content

Commit

Permalink
fix: amend method of invalidation paths
Browse files Browse the repository at this point in the history
  • Loading branch information
johnrwatson committed Aug 29, 2024
1 parent 2e0363b commit 17d0911
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,16 @@ jobs:
environment: ${{ inputs.environment }}
service: ${{ matrix.service }}
version: ${{ inputs.version }}
needs:
- invoke-and-check-cdn
secrets: inherit

set-maintenance-mode:
uses: ./.github/workflows/set-maintenance-mode.yml
with:
environment: ${{ inputs.environment }}
needs:
- check-cdn
- invoke-and-check-cdn
secrets: inherit

down: # the backend services
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/invoke-and-check-invalidations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Invalidate web cache
run: |
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DIST_ID }} \
--paths "/cyclone/stable/* /sdf/stable/* /rebaser/stable/* /pinga/stable/* /veritech/stable/*" \
--paths "/cyclone/stable/*" "/sdf/stable/*" "/rebaser/stable/*" "/pinga/stable/*" "/veritech/stable/*" \
--query 'Invalidation.Id' --output text
- name: Checkout code
Expand Down

0 comments on commit 17d0911

Please sign in to comment.