Forgot to change branch.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2023-03-02 18:31:20 +01:00
parent 03ee38cf8c
commit 2d08c69125
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -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]