diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index afe480cca..3e50cd7ae 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -29,7 +29,7 @@ jobs: # run: echo "DOMAIN=${{ github.actor }}.github.io" >> $GITHUB_ENV - name: Checkout website repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: true # fetch the theme # you need to set this as an environment env if your repo or any submodules (e.g the theme) is private: @@ -39,7 +39,7 @@ jobs: run: echo "BASE_URL=https://${{ env.DOMAIN }}/${{ github.event.repository.name }}/" >> $GITHUB_ENV - name: Setup PDM - uses: pdm-project/setup-pdm@v3 + uses: pdm-project/setup-pdm@c050bdcb2405837648035b6678c75609d53a749f - name: Build website run: | @@ -50,7 +50,7 @@ jobs: pdm run meson install -C builddir - name: Deploy if this is the `main` branch - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@cdc09a3 if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -68,7 +68,7 @@ jobs: pdm run meson install -C builddir - name: Deploy to PR preview - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@cdc09a3 if: github.ref != 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }}