Skip to content
Snippets Groups Projects
Commit ad75c47d authored by Jonas Gröger's avatar Jonas Gröger :palm_tree:
Browse files

feat: auto deploy rapidoc

parent 119f050c
No related branches found
No related tags found
No related merge requests found
stages:
- lint
- build
- upload
......@@ -43,7 +42,10 @@ upload:
- chmod 700 ~/.ssh
- echo "$UBERSPACE_KNOWN_HOST" >> ~/.ssh/known_hosts
script: >
rsync -rLvz --size-only --checksum -e "ssh -o CheckHostIP=no" --ipv4 --progress ./dist/. --temp-dir=~/tmp/ fitko@dorado.uberspace.de:html/$CI_COMMIT_TAG/
sed "s,REPLACEME,$CI_COMMIT_TAG/zustelldienst.yml,g" ui/config.js.template > ui/config.js
rsync -rLvz --size-only --checksum -e "ssh -o CheckHostIP=no" --ipv4 --progress ./ui/. fitko@dorado.uberspace.de:html/
rsync -rLvz --size-only --checksum -e "ssh -o CheckHostIP=no" --ipv4 --progress ./dist/. fitko@dorado.uberspace.de:html/$CI_COMMIT_TAG/
#release-new-api-version:
# stage: release
......
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