diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 31efbc1f..50ea6c05 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -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 diff --git a/.github/workflows/theme-update.yml b/.github/workflows/theme-update.yml index 20d767bf..4cb0e1f4 100644 --- a/.github/workflows/theme-update.yml +++ b/.github/workflows/theme-update.yml @@ -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 diff --git a/content/posts/getting-started/github-pages/index.es.md b/content/posts/getting-started/github-pages/index.es.md index 08d6fc70..7f5c0158 100644 --- a/content/posts/getting-started/github-pages/index.es.md +++ b/content/posts/getting-started/github-pages/index.es.md @@ -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 @@ -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: | @@ -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 diff --git a/content/posts/getting-started/github-pages/index.fr.md b/content/posts/getting-started/github-pages/index.fr.md index 6f6a76ec..34c4876a 100644 --- a/content/posts/getting-started/github-pages/index.fr.md +++ b/content/posts/getting-started/github-pages/index.fr.md @@ -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 @@ -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: | @@ -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 diff --git a/content/posts/getting-started/github-pages/index.md b/content/posts/getting-started/github-pages/index.md index 90fabd8d..034ac622 100644 --- a/content/posts/getting-started/github-pages/index.md +++ b/content/posts/getting-started/github-pages/index.md @@ -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 @@ -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: | @@ -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 diff --git a/content/posts/getting-started/prepare-site/index.fr.md b/content/posts/getting-started/prepare-site/index.fr.md index f9765413..35f4cbc5 100644 --- a/content/posts/getting-started/prepare-site/index.fr.md +++ b/content/posts/getting-started/prepare-site/index.fr.md @@ -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 diff --git a/content/posts/getting-started/theme-update/index.es.md b/content/posts/getting-started/theme-update/index.es.md index 5e4557d6..ade01637 100644 --- a/content/posts/getting-started/theme-update/index.es.md +++ b/content/posts/getting-started/theme-update/index.es.md @@ -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 @@ -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 diff --git a/content/posts/getting-started/theme-update/index.fr.md b/content/posts/getting-started/theme-update/index.fr.md index 95713e60..cdad1e43 100644 --- a/content/posts/getting-started/theme-update/index.fr.md +++ b/content/posts/getting-started/theme-update/index.fr.md @@ -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 @@ -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 diff --git a/content/posts/getting-started/theme-update/index.md b/content/posts/getting-started/theme-update/index.md index 5675c3ef..596ab38d 100644 --- a/content/posts/getting-started/theme-update/index.md +++ b/content/posts/getting-started/theme-update/index.md @@ -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 @@ -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