This commit is contained in:
parent
0a960b8988
commit
0afa04c974
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: Homegrade | Déploiment du Thème
|
||||
name: Homegrade Blocks | Déploiment du Plugin
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
|
@ -18,15 +18,11 @@ steps:
|
|||
- name: Clonage du Repo
|
||||
commands:
|
||||
- git clone https://git.deligraph.be/Antoine/homegrade_blocks_production.git
|
||||
- name: Build des blocks
|
||||
commands:
|
||||
- cd homegrade_blocks_production/blocks && for dir in */; do [ -f "$dir/package.json" ] && echo "Building $dir" && (cd "$dir" && pwd); done
|
||||
|
||||
- name: Déploiement sur le serveur de prod
|
||||
environment:
|
||||
PROD_SERVER_PATH:
|
||||
from_secret: prod_server_path
|
||||
commands:
|
||||
- cd homegrade_blocks_production
|
||||
# - rsync -avhp -e 'ssh' ./ $PROD_SERVER_PATH:~/public_html/wp-content/themes/Deligraph_Homegrade --delete --exclude 'node_modules' --exclude 'Makefile' --exclude '.git' --exclude '.env' --exclude '.env_prod' --exclude '.env_dev'
|
||||
- rsync -avhpn -e 'ssh' ./ $PROD_SERVER_PATH:~/public_html/wp-content/themes/Deligraph_Homegrade --exclude 'node_modules' --exclude 'Makefile' --exclude '.git' --exclude '.env' --exclude '.env_prod' --exclude '.env_dev'
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user