This commit is contained in:
parent
81ef88177f
commit
ecb1f6e4d4
@ -1,9 +1,8 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: ssh
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
@ -12,7 +11,7 @@ steps:
|
||||
key:
|
||||
from_secret: ssh_key
|
||||
port: 22
|
||||
command_timeout: 1m
|
||||
command_timeout: 2m
|
||||
script:
|
||||
- apt install hugo -y
|
||||
- git submodule update --init
|
||||
@ -20,6 +19,7 @@ steps:
|
||||
# - ln -s /home/hebron/hugo_resources/production resources
|
||||
- hugo --gc --minify -b https://blog.broillet.ch/
|
||||
|
||||
|
||||
# - name: vps-deploy
|
||||
# commands:
|
||||
# - rsync -ah --stats public/ cirrus:/var/www/html/blog/${DRONE_COMMIT_SHA:0:8}
|
||||
|
Loading…
Reference in New Issue
Block a user