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

This commit is contained in:
Mathieu Broillet 2023-06-11 12:56:54 +02:00
parent e807d9812b
commit 9d61d15363
Signed by: mathieu
GPG Key ID: A08E484FE95074C1

View File

@ -18,14 +18,17 @@ steps:
commands: commands:
- git submodule update --init - git submodule update --init
- hugo version - hugo version
- pwd
# - 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
- name: copy built website - name: copy built website
commands: commands:
- pwd
- cp public/ /var/www/html/blog/ - cp public/ /var/www/html/blog/
# - name: vps-deploy # - name: vps-deploy