Add live site Drone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
3wc 2024-07-16 18:34:02 -04:00
parent 2e30e12488
commit 9e049f7fa6

View File

@ -2,7 +2,7 @@
kind: pipeline
name: deploy main branch to live site
steps:
- name: docker cp deploy
- name: copy theme files to staging
image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest
settings:
host: smol-wp.autonomic.zone
@ -12,6 +12,18 @@ steps:
dest: /var/www/html/
deploy_key:
from_secret: drone_ssh_smol-wp.autonomic.zone
when:
branch:
- staging
- name: copy theme files to live
image: appleboy/drone-scp
settings:
host: web1.mont58coffee.com
username: autonomic
key:
from_secret: drone_ssh_mont58coffee.com
target: /var/www/production.mont58coffee.com/web/wp-content/themes/mont58-coffee/
source: wp-content/themes/mont58-coffee/
when:
branch:
- main