Forgot to change branch.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
03ee38cf8c
commit
2d08c69125
1 changed files with 5 additions and 3 deletions
|
@ -67,7 +67,7 @@ steps:
|
||||||
- hugo --minify
|
- hugo --minify
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
branch: [prod]
|
branch: [main]
|
||||||
|
|
||||||
- name: Remove old ad5001.eu
|
- name: Remove old ad5001.eu
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
|
@ -91,7 +91,7 @@ steps:
|
||||||
- rm -rf *
|
- rm -rf *
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
branch: [prod]
|
branch: [main]
|
||||||
|
|
||||||
- name: Deploy ad5001.eu
|
- name: Deploy ad5001.eu
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
|
@ -102,9 +102,11 @@ steps:
|
||||||
from_secret: SSH_USERNAME
|
from_secret: SSH_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: SSH_PASSWORD
|
from_secret: SSH_PASSWORD
|
||||||
|
port:
|
||||||
|
from_secret: SSH_PORT
|
||||||
target:
|
target:
|
||||||
from_secret: PROD_WWW_PATH
|
from_secret: PROD_WWW_PATH
|
||||||
source: public/*
|
source: public/*
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
branch: [prod]
|
branch: [main]
|
||||||
|
|
Loading…
Reference in a new issue