Compare commits

..

10 Commits

Author SHA1 Message Date
4eb294a8b1 build and deploy in one step again
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 01:25:13 +02:00
348ef297c7 list current path before "lektor deploy"
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 01:12:24 +02:00
c5cf47b0b6 build and deploy in separate steps, but cd to /workspace befor deploy
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 01:10:21 +02:00
61f0943f31 build and deploy in one step
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 01:07:30 +02:00
7311189b83 are the "{}" the problem?
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-06 23:13:44 +02:00
c3b267b897 add "lektor" to command
Some checks failed
continuous-integration/drone/push Build is failing
2021-06-06 23:07:52 +02:00
11088b56b1 correct when clause of step "deploy" to match branch "main"
Some checks failed
continuous-integration/drone/push Build is failing
2021-06-06 23:04:53 +02:00
b7801d14dc add step "deploy"
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-06 23:01:58 +02:00
d6cfd6ed29 add workspace and image pull secrets for drone
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-25 12:23:13 +02:00
b76d7430b3 .
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2021-04-25 12:10:50 +02:00
3 changed files with 26 additions and 2 deletions

View File

@ -3,6 +3,25 @@ kind: pipeline
type: docker
name: build_webseite
workspace:
path: /workspace
steps:
- name: build
- name: build-deploy
image: registry.wtf-eg.net/lektor
environment:
LEKTOR_DEPLOY_KEY:
from_secret: lektor_deploy_key
commands:
- pwd
- lektor build
- ls
- lektor deploy --key $LEKTOR_DEPLOY_KEY
when:
branch:
- main
event:
- push
image_pull_secrets:
- dockerconfig

View File

@ -1,2 +1,7 @@
[project]
name = Webseite
[servers.production]
target = rsync://root@minecraft.henning-brinkmann.de/root/webseite

View File

@ -24,6 +24,6 @@
{% block body %}{% endblock %}
</div>
<footer>
&copy; Copyright 2021
&copy; Copyright 2021.
</footer>
</body>