Skip to content
Snippets Groups Projects
Commit 988a4233 authored by moon2's avatar moon2 :speech_balloon:
Browse files

docs: more testing in production

parent e6c46fd5
No related branches found
No related tags found
1 merge request!749docs: more testing in production
Pipeline #13312 failed
......@@ -62,15 +62,16 @@ pages:
rules:
- if: $CI_COMMIT_BRANCH == "main"
script:
- git branch
- git tag | xargs git tag -d
- git branch | sed -e 's/..//' | grep '^release/' | while read b; do git branch -m "$b" "v${b#release/}"; done
- git branch -m main dev
- git checkout main
- git checkout -b dev
- git branch --all
- git branch --all | sed -e 's/..//' | grep '^remotes/origin/release/' | while read b; do git checkout "v${b#remotes/origin/release/} "${b#remotes/}"; done
- git checkout dev
- git branch
- mkdir public
- cd docs
- make versionedhtml
- cp -r _build/$(git tag --sort=version:refname | tail -n1)/* _build/
- cp -r _build/$(git branch --sort=version:refname | tail -n1)/* _build/
- python redirects.py
- cp -r _build/* ../public/
- find ../public/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment