This commit is contained in:
parent
ecb1f6e4d4
commit
4fc6c360e2
10
.drone.yml
10
.drone.yml
@ -5,11 +5,9 @@ steps:
|
|||||||
- name: ssh
|
- name: ssh
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
host:
|
host: homelab-blog.lan
|
||||||
- homelab-blog.lan
|
|
||||||
username: root
|
username: root
|
||||||
key:
|
key_path: /root/.ssh/id_rsa
|
||||||
from_secret: ssh_key
|
|
||||||
port: 22
|
port: 22
|
||||||
command_timeout: 2m
|
command_timeout: 2m
|
||||||
script:
|
script:
|
||||||
@ -19,6 +17,10 @@ steps:
|
|||||||
# - ln -s /home/hebron/hugo_resources/production resources
|
# - ln -s /home/hebron/hugo_resources/production resources
|
||||||
- hugo --gc --minify -b https://blog.broillet.ch/
|
- hugo --gc --minify -b https://blog.broillet.ch/
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: ssh_key
|
||||||
|
host:
|
||||||
|
path: /root/.ssh/id_rsa
|
||||||
|
|
||||||
# - name: vps-deploy
|
# - name: vps-deploy
|
||||||
# commands:
|
# commands:
|
||||||
|
Loading…
Reference in New Issue
Block a user