Skip to content

Commit

Permalink
working dir
Browse files Browse the repository at this point in the history
Signed-off-by: DanRoscigno <[email protected]>
  • Loading branch information
DanRoscigno committed Oct 10, 2023
1 parent 2ac42b6 commit 27acd1d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,39 +36,39 @@ jobs:

- name: process English 3.1
run: |
cd /home/runner/work/docusaurusv3/docusaurusv3/temp-en
cd /home/runner/work/doc/doc/temp-en
git checkout branch-3.1
rm -rf ../versioned_docs/version-3.1
mkdir -p ../versioned_docs/version-3.1
cp -r docs/* ../versioned_docs/version-3.1
- name: process English 3.0
run: |
cd /home/runner/work/docusaurusv3/docusaurusv3/temp-en
cd /home/runner/work/doc/doc/temp-en
git checkout branch-3.0
rm -rf ../versioned_docs/version-3.0
mkdir -p ../versioned_docs/version-3.0
cp -r docs/* ../versioned_docs/version-3.0
- name: process Chinese 3.1
run: |
cd /home/runner/work/docusaurusv3/docusaurusv3/temp-zh
cd /home/runner/work/doc/doc/temp-zh
git checkout 3.1
rm -rf ../i18n/zh/docusaurus-plugin-content-docs/version-3.1/
mkdir -p ../i18n/zh/docusaurus-plugin-content-docs/version-3.1
cp -r * ../i18n/zh/docusaurus-plugin-content-docs/version-3.1/
- name: process Chinese 3.0
run: |
cd /home/runner/work/docusaurusv3/docusaurusv3/temp-zh
cd /home/runner/work/doc/doc/temp-zh
git checkout 3.0
rm -rf ../i18n/zh/docusaurus-plugin-content-docs/version-3.0/
mkdir -p ../i18n/zh/docusaurus-plugin-content-docs/version-3.0
cp -r * ../i18n/zh/docusaurus-plugin-content-docs/version-3.0/
- name: cleanup before running yarn build
run: |
cd /home/runner/work/docusaurusv3/docusaurusv3
cd /home/runner/work/doc/doc
rm -rf temp-en
rm -rf temp-zh
find . -type f -name TOC.md | xargs rm
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,39 +31,39 @@ jobs:

- name: process English 3.1
run: |
cd /home/runner/work/docusaurusv3/docusaurusv3/temp-en
cd /home/runner/work/doc/doc/temp-en
git checkout branch-3.1
rm -rf ../versioned_docs/version-3.1
mkdir -p ../versioned_docs/version-3.1
cp -r docs/* ../versioned_docs/version-3.1
- name: process English 3.0
run: |
cd /home/runner/work/docusaurusv3/docusaurusv3/temp-en
cd /home/runner/work/doc/doc/temp-en
git checkout branch-3.0
rm -rf ../versioned_docs/version-3.0
mkdir -p ../versioned_docs/version-3.0
cp -r docs/* ../versioned_docs/version-3.0
- name: process Chinese 3.1
run: |
cd /home/runner/work/docusaurusv3/docusaurusv3/temp-zh
cd /home/runner/work/doc/doc/temp-zh
git checkout 3.1
rm -rf ../i18n/zh/docusaurus-plugin-content-docs/version-3.1/
mkdir -p ../i18n/zh/docusaurus-plugin-content-docs/version-3.1
cp -r * ../i18n/zh/docusaurus-plugin-content-docs/version-3.1/
- name: process Chinese 3.0
run: |
cd /home/runner/work/docusaurusv3/docusaurusv3/temp-zh
cd /home/runner/work/doc/doc/temp-zh
git checkout 3.0
rm -rf ../i18n/zh/docusaurus-plugin-content-docs/version-3.0/
mkdir -p ../i18n/zh/docusaurus-plugin-content-docs/version-3.0
cp -r * ../i18n/zh/docusaurus-plugin-content-docs/version-3.0/
- name: cleanup before running yarn build
run: |
cd /home/runner/work/docusaurusv3/docusaurusv3
cd /home/runner/work/doc/doc
rm -rf temp-en
rm -rf temp-zh
find . -type f -name TOC.md | xargs rm
Expand Down

0 comments on commit 27acd1d

Please sign in to comment.