Commit 2aef74c2 authored by Jens Langhammer's avatar Jens Langhammer

web: add docs link to website

parent bdc8040c
Pipeline #3210 passed with stages
in 3 minutes and 47 seconds
......@@ -99,5 +99,22 @@ docs:
- "eval $(ssh-agent -s)"
- "echo \"${CI_SSH_PRIVATE}\" | ssh-add -"
- mkdocs build
- 'rsync -avh --delete web/* "beryjuorg@ory1-web-prod-1.ory1.beryju.org:pyazo.beryju.org/"'
- 'rsync -avh --delete site/* "beryjuorg@ory1-web-prod-1.ory1.beryju.org:pyazo.beryju.org/docs/"'
web:
stage: docs
only:
- master
- tags
- /^debian/.*$/
environment:
name: docs
url: "https://pyazo.beryju.org/"
script:
- apt update
- apt install -y rsync
- "mkdir ~/.ssh"
- "cp .gitlab/known_hosts ~/.ssh/"
- "eval $(ssh-agent -s)"
- "echo \"${CI_SSH_PRIVATE}\" | ssh-add -"
- 'rsync -avh --delete web/* "beryjuorg@ory1-web-prod-1.ory1.beryju.org:pyazo.beryju.org/"'
......@@ -117,6 +117,7 @@
<li><a href="https://git.beryju.org/BeryJu.org/pyazo" class="button">Get the source</a></li>
<li><a href="#install" class="button special">Install it</a></li>
<li><a href="https://i.beryju.org" class="button">Try the hosted version!</a></li>
<li><a href="docs/" class="button">Documentation</a></li>
</ul>
</footer>
</section>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment