This commit is contained in:
10
.drone.yml
10
.drone.yml
@@ -14,8 +14,8 @@ steps:
|
||||
- name: build
|
||||
image: klakegg/hugo:ext-ci
|
||||
commands:
|
||||
#- cd themes/hugo-resume # && npm i && cd -
|
||||
- hugo --gc --minify --environment production
|
||||
- cd themes/hugo-resume # && npm i && cd -
|
||||
#- hugo --gc --minify --environment production
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/drone-scp
|
||||
@@ -25,8 +25,10 @@ steps:
|
||||
- /var/www/html/nicktrimborn.de/public_html/
|
||||
source:
|
||||
- public/*
|
||||
username: "root"
|
||||
password: "R*Hc96Wb@v"
|
||||
username:
|
||||
from_secret: webserver_username
|
||||
password:
|
||||
from_secret: webserver_password
|
||||
|
||||
trigger:
|
||||
event:
|
||||
|
||||
Reference in New Issue
Block a user