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
|
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.
|
||||||
|
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -5,11 +5,11 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
doc-test:
|
doc-test:
|
||||||
if: github.ref_name != 'l10n'
|
if: github.ref_name != 'l10n'
|
||||||
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue