Skip to content

更新汉语-简体中文内容 #8

更新汉语-简体中文内容

更新汉语-简体中文内容 #8

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install yarn
run: |
npm install yarn -g
- name: Check out CSKB_Hosting
uses: actions/checkout@v3
with:
repository: 'Corona-Studio/CSKB_Hosting'
path: CSKB_Hosting
- name: Remove cloned docs
run: |
rm -rf CSKB_Hosting/docs
- name: Show cd
run: |
cd CSKB_Hosting && ls
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
path: CSKB_Hosting
- name: Show cd 2
run: |
cd CSKB_Hosting && ls
- name: Show cd 3
run: |
cd CSKB_Hosting && ls && cd docs && ls
- name: Build
run: |
cd CSKB_Hosting
yarn install
yarn run docs:build