Skip to content

Commit

Permalink
Bump versions of gh actions for node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
robtaylor committed Feb 1, 2024
1 parent 514482d commit cb99625
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit cb99625

Please sign in to comment.