Skip to content

Commit

Permalink
Update workflow for node18/20
Browse files Browse the repository at this point in the history
  • Loading branch information
robtaylor committed Jan 27, 2024
1 parent abfd1ea commit 23ceda3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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@v4

- name: Build website
run: |
Expand All @@ -49,7 +49,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@80daa1d
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 23ceda3

Please sign in to comment.