Skip to content

Commit

Permalink
Merge pull request #48 from opendatalab/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
gary-Shen authored Nov 6, 2023
2 parents 89fae0a + ea4a6b5 commit 6c4ca55
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/guide-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 18
cache: ${{ steps.detect-package-manager.outputs.manager }}
cache-dependency-path: ./apps/docs/package-lock.json
- name: Setup Pages
Expand All @@ -70,8 +70,8 @@ jobs:
uses: actions/cache@v3
with:
path: |
./apps/docs/public
./apps/docs/.cache
./websiite/dist
./websiite/.cache
key: ${{ runner.os }}-gatsby-build-${{ hashFiles('public') }}
restore-keys: |
${{ runner.os }}-gatsby-build-
Expand All @@ -81,17 +81,18 @@ jobs:

- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
working-directory: ./apps/docs
working-directory: ./website

- name: Build with Gatsby
working-directory: ./apps/docs
- name: Build website
working-directory: ./website
env:
PREFIX_PATHS: 'true'
run: ${{ steps.detect-package-manager.outputs.manager }} run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./apps/docs/public
path: ./website/dist

# Deployment job
deploy:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "labelu"
version = '0.7.512'
version = '0.7.513'
description = ""
license = "Apache-2.0"
authors = ["pengjinhu <pengjinhu@pjlab.org.cn>"]
Expand Down

0 comments on commit 6c4ca55

Please sign in to comment.