Skip to content

Commit

Permalink
ci: update deploy.yml (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
iChenLei authored Jun 18, 2024
1 parent 89d4f10 commit 08d82d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Deploy Docs

env: {NODE_VERSION: 14}
env: {NODE_VERSION: 20}

on:
push:
Expand All @@ -19,16 +19,16 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: {node-version: '${{ env.NODE_VERSION }}'}
- name: install dependencies
run: npm install
- name: build docs
run: node data/_utils/pkg && grunt
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v2
uses: crazy-max/ghaction-github-pages@v4
with:
repo: less/less.github.io
target_branch: master
Expand Down

0 comments on commit 08d82d4

Please sign in to comment.