Skip to content

Commit be34f77

Browse files
authored
Update deploy.yml with modern action versions
1 parent fbc261a commit be34f77

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717

18-
- uses: actions/cache@v2
18+
- uses: actions/cache@v4
1919
with:
2020
path: ~/.nuget/packages
2121
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -30,7 +30,7 @@ jobs:
3030
run: wget -P ${{ env.PUBLISH_PATH }} "https://raw.githubusercontent.com/rafgraph/spa-github-pages/gh-pages/404.html"
3131

3232
- name: Add readme file
33-
run: wget -P ${{ env.PUBLISH_PATH }} "https://gist.githubusercontent.com/Kade-N/b2dece4553f9900090fe3ce271d73048/raw/474ada9e5805ade145bcef79cf3d0c4bc0ecac2a/README.md"
33+
run: wget -P ${{ env.PUBLISH_PATH }} "https://gist.githubusercontent.com/Kade-N/b2dece4553f9900090fe3ce271d73048/raw/README.md"
3434

3535
# - name: Rewrite base href
3636
# uses: SteveSandersonMS/ghaction-rewrite-base-href@v1
@@ -39,7 +39,7 @@ jobs:
3939
# base_href: /ModBrowser/
4040

4141
- name: Deploy to GitHub Pages
42-
uses: peaceiris/actions-gh-pages@v3.7.3
42+
uses: peaceiris/actions-gh-pages@v4
4343
with:
4444
github_token: ${{ secrets.GITHUB_TOKEN }}
4545
publish_dir: ${{ env.PUBLISH_PATH }}

0 commit comments

Comments
 (0)