Skip to content
Snippets Groups Projects
Unverified Commit b539c5f0 authored by Luca Weiss's avatar Luca Weiss Committed by Oliver Smith
Browse files

Add documentation deploy step to CI (MR 105)

parent a5ef8d75
No related branches found
No related tags found
1 merge request!105docs: creation of basic structure
Pipeline #210406 failed
......@@ -40,6 +40,21 @@ docs:
paths:
- public
deploy:
only:
- master
stage: deploy
before_script:
- apk -q add openssh-client rsync
script:
- mkdir "${HOME}/.ssh"
- echo "${SSH_HOST_KEY}" > "${HOME}/.ssh/known_hosts"
- echo "${SSH_PRIVATE_KEY}" > "${HOME}/.ssh/id_ed25519"
- chmod 700 "${HOME}/.ssh/id_ed25519"
- rsync -hrvz --delete -e "ssh -p ${SSH_PORT}" public/ "${SSH_HOST}":/var/www/docs.postmarketos.org/bpo/
environment:
name: deploy
pytest:
image: "alpine:3.18" # has sqlalchemy<2.0
before_script:
......
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