mirror of
https://gitea.com/gitea/docs.git
synced 2025-03-16 22:40:26 +00:00
fix typo and some seds for <empty> (#15)
# Before:  # After: (/attachments/85c184f3-58ca-4616-bb9d-9afacbc59290) Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/15 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: HesterG <hestergong@gmail.com> Co-committed-by: HesterG <hestergong@gmail.com>
This commit is contained in:
.gitea/workflows
i18n/zh-cn/docusaurus-theme-classic
loop_docs-19-zh-cn.shloop_docs-zh-cn.shloop_docs.sh
32
.gitea/workflows/test.yaml
Normal file
32
.gitea/workflows/test.yaml
Normal file
@ -0,0 +1,32 @@
|
||||
name: checks
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
|
||||
jobs:
|
||||
build-docs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: https://github.com/actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- name: install necessary tools
|
||||
run: |
|
||||
apt update -y && apt install -y rsync python python3-pip
|
||||
pip install awscli
|
||||
- name: prepare nightly docs
|
||||
run: |
|
||||
make prepare-latest
|
||||
make prepare-latest-zh-cn
|
||||
- name: prepare 1.19 docs
|
||||
run: |
|
||||
make prepare\#19
|
||||
make prepare-zh-cn\#19
|
||||
- name: cleanup before build
|
||||
run: |
|
||||
rm static/_*
|
||||
- name: build site
|
||||
run: |
|
||||
npm ci
|
||||
npm run build
|
Reference in New Issue
Block a user