Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump GitHub action workflows #308

Merged
merged 1 commit into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install node modules
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/theme-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Setup Hugo
uses: peaceiris/actions-hugo@v3.0.0
Expand Down
10 changes: 5 additions & 5 deletions content/posts/getting-started/github-pages/index.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ jobs:
runs-on: ubuntu-latest
steps:
# checkout del commit que ha sido pusheado
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2.6.0
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
extended: true
Expand All @@ -61,9 +61,9 @@ jobs:
run: hugo mod tidy

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install node modules
run: |
Expand All @@ -75,7 +75,7 @@ jobs:

# hace push del contenido generado a la rama `gh-pages`.
- name: Deploy
uses: peaceiris/actions-gh-pages@v3.9.0
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
Expand Down
10 changes: 5 additions & 5 deletions content/posts/getting-started/github-pages/index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:
runs-on: ubuntu-latest
steps:
# checkout to the commit that has been pushed
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2.6.0
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
extended: true
Expand All @@ -58,9 +58,9 @@ jobs:
run: hugo mod tidy

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install node modules
run: |
Expand All @@ -72,7 +72,7 @@ jobs:

# push the generated content into the `gh-pages` branch.
- name: Deploy
uses: peaceiris/actions-gh-pages@v3.9.0
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
Expand Down
10 changes: 5 additions & 5 deletions content/posts/getting-started/github-pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:
runs-on: ubuntu-latest
steps:
# checkout to the commit that has been pushed
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2.6.0
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
extended: true
Expand All @@ -59,9 +59,9 @@ jobs:
run: hugo mod tidy

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install node modules
run: |
Expand All @@ -73,7 +73,7 @@ jobs:

# push the generated content into the `gh-pages` branch.
- name: Deploy
uses: peaceiris/actions-gh-pages@v3.9.0
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
Expand Down
2 changes: 1 addition & 1 deletion content/posts/getting-started/prepare-site/index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Dans ce billet, nous allons créer un site hugo de zéro. Nous le configurerons

Si vous voulez démarrer d'une base, vous pouvez juste cloner le dépôt [hugo-toha/hugo-toha.github.io](https://github.com/hugo-toha/hugo-toha.github.io), renommez-le et mettez-le à jour avec vos propres données. Ce dépôt a déjà été configuré pour déployer sur [Github Pages](https://pages.github.com/) et [Netlify](https://www.netlify.com/).

Si vous avez déjà un site hugo, sautez à la section [Ajouter un thème](#add-theme)
Si vous avez déjà un site hugo, sautez à la section [Ajouter un thème](#ajouter-un-thème)

### Créer un dépôt

Expand Down
8 changes: 4 additions & 4 deletions content/posts/getting-started/theme-update/index.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ jobs:
update-theme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4
with:
ref: main

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2.6.0
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "latest"
extended: true
Expand All @@ -66,7 +66,7 @@ jobs:
rm -rf public/

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v7
with:
base: main
title: Update theme
Expand Down
8 changes: 4 additions & 4 deletions content/posts/getting-started/theme-update/index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ jobs:
update-theme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4
with:
ref: main

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2.6.0
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "latest"
extended: true
Expand All @@ -66,7 +66,7 @@ jobs:
rm -rf public/

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v7
with:
base: main
title: Update theme
Expand Down
8 changes: 4 additions & 4 deletions content/posts/getting-started/theme-update/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ jobs:
update-theme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4
with:
ref: main

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2.6.0
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "latest"
extended: true
Expand All @@ -63,7 +63,7 @@ jobs:
rm -rf public/

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v7
with:
base: main
title: Update theme
Expand Down
Loading