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
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.

View file

@ -5,11 +5,11 @@ on:
jobs:
doc-test:
if: github.ref_name != 'l10n'
if: github.ref_name != 'l10n'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false