diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index c272c3d7f..006bee937 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -10,20 +10,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout (tutorials) - uses: actions/checkout@v3 + uses: actions/checkout@v6 with: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Checkout (theme) - uses: actions/checkout@v3 + uses: actions/checkout@v6 with: repository: MunifTanjim/minimo ref: v2.9.0 path: themes/minimo - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@32c7754570a8edd0ae33352fae4a8448f23858e9 #v3.1.0 with: hugo-version: '0.88.1' # extended: true @@ -39,7 +39,7 @@ jobs: run: node themes/minimo/scripts/generate-search-index-lunr.js - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.0.0 + uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f #v4.8.0 with: branch: gh-pages folder: public diff --git a/.github/workflows/generate-artifact-pr.yml b/.github/workflows/generate-artifact-pr.yml index b7b5bb2ac..8b9d833c5 100644 --- a/.github/workflows/generate-artifact-pr.yml +++ b/.github/workflows/generate-artifact-pr.yml @@ -8,21 +8,21 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout (tutorials) - uses: actions/checkout@v3 + uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Checkout (theme) - uses: actions/checkout@v3 + uses: actions/checkout@v6 with: repository: MunifTanjim/minimo ref: v2.9.0 path: themes/minimo - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@32c7754570a8edd0ae33352fae4a8448f23858e9 #v3.1.0 with: hugo-version: '0.88.1' # extended: true @@ -38,7 +38,7 @@ jobs: run: node themes/minimo/scripts/generate-search-index-lunr.js - name: Archive built site to an artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: pr-${{ env.PR_NUMBER }}-inbo-tutorials-website path: public diff --git a/.github/workflows/remove_old_artifact.yaml b/.github/workflows/remove_old_artifact.yaml index d4a765c54..259679e98 100644 --- a/.github/workflows/remove_old_artifact.yaml +++ b/.github/workflows/remove_old_artifact.yaml @@ -12,7 +12,7 @@ jobs: steps: - name: Remove old artifacts - uses: c-hive/gha-remove-artifacts@v1 + uses: c-hive/gha-remove-artifacts@44fc7acaf1b3d0987da0e8d4707a989d80e9554b #v1.4.0 with: age: '1 days' skip-recent: 5