Skip to content

Commit 9b1abdc

Browse files
committed
don't invalidate thanks cloudfront distribution
1 parent fa823b5 commit 9b1abdc

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout the source code
18-
uses: actions/checkout@v4
19-
with:
20-
fetch-depth: 1
18+
uses: actions/checkout@v6
2119

2220
- name: Install Rust
2321
run: |
@@ -29,7 +27,7 @@ jobs:
2927

3028
- name: Upload artifact
3129
if: github.ref == 'refs/heads/master' && github.repository_owner == 'rust-lang'
32-
uses: actions/upload-pages-artifact@v3
30+
uses: actions/upload-pages-artifact@v4
3331
with:
3432
path: ./output
3533

@@ -51,11 +49,3 @@ jobs:
5149
- name: Deploy to GitHub Pages
5250
uses: actions/deploy-pages@v4
5351
id: deployment
54-
- name: Configure AWS credentials
55-
uses: aws-actions/configure-aws-credentials@v4
56-
with:
57-
aws-access-key-id: "${{ secrets.AWS_ACCESS_KEY_ID }}"
58-
aws-secret-access-key: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
59-
aws-region: us-west-1
60-
- name: Invalidate CloudFront cache
61-
run: aws cloudfront create-invalidation --distribution-id E3URKC86CEGJWE --paths "/*"

0 commit comments

Comments
 (0)