fix duplicate packages and actions #6

Merged
techknowlogick merged 1 commits from HesterG/gitea-docusaurus:fix-duplicate-dirs into main 2023-05-21 05:55:28 +00:00
Member

following https://github.com/go-gitea/gitea/pull/23629

and fix

Screen Shot 2023-05-18 at 14.40.24

Location of search.en-us.md in lastest main is changed and has already been removed by loop_docs.sh

following https://github.com/go-gitea/gitea/pull/23629 and fix ![Screen Shot 2023-05-18 at 14.40.24](/attachments/d3d1a92f-16cc-4237-9b55-7643f0934922) Location of [search.en-us.md](https://github.com/go-gitea/gitea/blob/main/docs/content/doc/search.en-us.md) in lastest main is changed and has already been removed by `loop_docs.sh`
HesterG added 1 commit 2023-05-18 06:41:44 +00:00
lunny approved these changes 2023-05-18 06:45:18 +00:00
techknowlogick reviewed 2023-05-19 06:20:32 +00:00
@ -25,7 +25,6 @@ prepare-latest: clone_main
cp .tmp/upstream-docs-latest/docs/content/page/index.en-us.md docs/intro.md
cp .tmp/upstream-docs-latest/templates/swagger/v1_json.tmpl static/latest-swagger.json
bash loop_docs.sh
rm docs/help/search.en-us.md || true

why removed this line?

why removed this line?
Author
Member

action has an error at the end of step "prepare nightly docs"

Because location of search.en-us.md in lastest main is changed, it is now under /docs/content/doc directory of the upstream main branch, and is already removed by the bash loop_docs.sh step

[action](https://gitea.com/gitea/gitea-docusaurus/actions/runs/45) has an error at the end of step "prepare nightly docs" Because location of [search.en-us.md](https://github.com/go-gitea/gitea/blob/main/docs/content/doc/search.en-us.md) in lastest main is changed, it is now under /docs/content/doc directory of the upstream main branch, and is already removed by the `bash loop_docs.sh` step
techknowlogick marked this conversation as resolved
techknowlogick merged commit ddebf0c3b6 into main 2023-05-21 05:55:28 +00:00
HesterG deleted branch fix-duplicate-dirs 2023-05-22 01:28:50 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/gitea-docusaurus#6
No description provided.