Skip to content

Commit

Permalink
Update GitHub actions versions (#271)
Browse files Browse the repository at this point in the history
This avoids a bunch of deprecation warnings:

> Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20:
  • Loading branch information
frankieroberto authored Apr 17, 2024
1 parent 7fbe9d4 commit a3c062e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v5
- name: Install dependencies
run: npm ci
- name: Build with Eleventy
run: npm run-script build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3

deploy:
environment:
Expand All @@ -62,7 +62,7 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
```
Then, in your repository’s settings, under ‘Pages’, set ‘Source’ to ‘GitHub Actions’.
Expand Down

0 comments on commit a3c062e

Please sign in to comment.