Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
laolarou726 authored Mar 18, 2024
1 parent 0a2ff10 commit bbdf81e
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,31 @@ jobs:
- uses: actions/[email protected]
with:
node-version: 20

- name: Install yarn
run: |
npm install yarn -g
- name: Check out CSKB_Hosting
uses: actions/[email protected]
with:
repository: 'Corona-Studio/CSKB_Hosting'

path: 'CSKB_Hosting'

- name: Remove cloned docs
run: |
rm -rf CSKB_Hosting/docs
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/[email protected]
with:
path: 'CSKB_Hosting'
path: 'CSKB_Hosting/docs'

- name: Build
- name: Install Deps
run: |
cd CSKB_Hosting
yarn install
- name: Build
run: |
yarn run docs:build

0 comments on commit bbdf81e

Please sign in to comment.