Skip to content

Commit

Permalink
gh-actions: update setup node
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem committed Jan 3, 2025
1 parent fa44923 commit 71309b7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,21 @@ jobs:
runs-on: ubuntu-latest

steps:
# 1. Check out the repository
- name: Check out the repository
uses: actions/checkout@v2

# 2. Set up Node.js
- name: Set up Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 22

# 3. Install dependencies and deploy
- name: Deploy Docusaurus
run: |
cd website
npm install
npm ci
GIT_USER=${{ secrets.GITHUB_ACTOR }} npm run deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 71309b7

Please sign in to comment.