workflow: update actions
Update checkout to v4. Make touch one line. Use v4 instead of entire version number.
This commit is contained in:
parent
6a89b5c753
commit
afe6bcfdf0
2 changed files with 5 additions and 6 deletions
7
.github/workflows/publish.yml
vendored
7
.github/workflows/publish.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
|
@ -27,11 +27,10 @@ jobs:
|
|||
# .nojekyll: to tell GH Pages to not rebuild (lol)
|
||||
# CNAME: to tell GH Pages about the domain name
|
||||
- name: Post-Jekyll build copy files
|
||||
run: |
|
||||
touch _site/.nojekyll
|
||||
run: touch _site/.nojekyll
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
branch: gh-pages # The branch the action should deploy to.
|
||||
folder: _site # The folder the action should deploy.
|
||||
|
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
|
|
Loading…
Reference in a new issue