Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v4
with:
fetch-depth: 1
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the default

uses: actions/checkout@v6

- name: Install Rust
run: |
Expand All @@ -29,7 +27,7 @@ jobs:

- name: Upload artifact
if: github.ref == 'refs/heads/master' && github.repository_owner == 'rust-lang'
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v4
with:
path: ./output

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