workflow: update actions

Update checkout to v4.
Make touch one line.
Use v4 instead of entire version number.
This commit is contained in:
Margen67 2023-11-18 14:19:25 -08:00
parent 6a89b5c753
commit afe6bcfdf0
2 changed files with 5 additions and 6 deletions

View file

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false
@ -27,11 +27,10 @@ jobs:
# .nojekyll: to tell GH Pages to not rebuild (lol) # .nojekyll: to tell GH Pages to not rebuild (lol)
# CNAME: to tell GH Pages about the domain name # CNAME: to tell GH Pages about the domain name
- name: Post-Jekyll build copy files - name: Post-Jekyll build copy files
run: | run: touch _site/.nojekyll
touch _site/.nojekyll
- name: Deploy 🚀 - name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.1 uses: JamesIves/github-pages-deploy-action@v4
with: with:
branch: gh-pages # The branch the action should deploy to. branch: gh-pages # The branch the action should deploy to.
folder: _site # The folder the action should deploy. folder: _site # The folder the action should deploy.

View file

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false