update drone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Mathieu Broillet 2023-06-11 12:58:03 +02:00
parent 9d61d15363
commit 4c0f6b59fb
Signed by: mathieu
GPG Key ID: A08E484FE95074C1

View File

@ -18,17 +18,18 @@ steps:
commands: commands:
- git submodule update --init - git submodule update --init
- hugo version - hugo version
- pwd - pwd && ls -l
# - ln -s /home/hebron/hugo_resources/production resources # - ln -s /home/hebron/hugo_resources/production resources
- name: build - name: build
commands: commands:
- hugo --gc --minify -b https://blog.broillet.ch/ - hugo --gc --minify -b https://blog.broillet.ch/
- pwd - pwd && ls -l
- name: copy built website - name: copy built website
commands: commands:
- pwd - pwd && ls -l
- sleep 30
- cp public/ /var/www/html/blog/ - cp public/ /var/www/html/blog/
# - name: vps-deploy # - name: vps-deploy