Update github actions (#11)

to fix https://github.com/StardustXR/website/actions/runs/10498882310/job/29084645282
This commit was merged in pull request #11.
This commit is contained in:
6543
2024-08-22 03:24:44 +02:00
committed by GitHub
parent 5d65681b81
commit 3a8f38a602

View File

@@ -9,10 +9,10 @@ jobs:
name: Deploy to GitHub Pages name: Deploy to GitHub Pages
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- uses: actions/setup-node@v2 - uses: actions/setup-node@v4
with: with:
node-version: 14.x node-version: 22.x
cache: yarn cache: yarn
- name: Build website - name: Build website
run: | run: |
@@ -22,7 +22,7 @@ jobs:
# Popular action to deploy to GitHub Pages: # Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v4
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
# Build output to publish to the `gh-pages` branch: # Build output to publish to the `gh-pages` branch: