Compare commits
2 Commits
df9e52944a
...
34da08d073
| Author | SHA1 | Date | |
|---|---|---|---|
| 34da08d073 | |||
| e4436c4aab |
27
.drone.yml
Normal file
27
.drone.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: Carhop | Plugins | Déploiment des Plugins
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
server:
|
||||
host:
|
||||
from_secret: build_server_host
|
||||
user:
|
||||
from_secret: build_server_user
|
||||
password:
|
||||
from_secret: build_server_password
|
||||
|
||||
steps:
|
||||
- name: Clonage du Repo
|
||||
commands:
|
||||
- git clone https://git.deligraph.be/Antoine/carhop__plugins__DEV.git
|
||||
- name: Déploiement des mu-plugins
|
||||
environment:
|
||||
DEV_SERVER_PATH:
|
||||
from_secret: dev_server_path
|
||||
commands:
|
||||
- cd carhop__plugins__DEV
|
||||
- rsync -avhp -e 'ssh -p 1982' ./mu-plugins $DEV_SERVER_PATH:~/carhop/wordpress/wp-content/mu-plugins --delete --exclude 'node_modules' --exclude 'Makefile' --exclude '.git' --exclude '.env' --exclude '.env_prod' --exclude '.env_dev'
|
||||
19
.gitignore
vendored
Normal file
19
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
*
|
||||
!mu-plugins/
|
||||
!mu-plugins/**
|
||||
|
||||
!plugins/
|
||||
!plugins/dynamiques-blocks/
|
||||
!plugins/dynamiques-blocks/**
|
||||
!plugins/carhop-blocks/
|
||||
!plugins/carhop-blocks/**
|
||||
plugins/advanced-custom-fields-pro/
|
||||
plugins/advanced-custom-fields-pro/**
|
||||
!.drone.yml
|
||||
!.gitignore
|
||||
# Ignorer node_modules partout
|
||||
**/node_modules/
|
||||
plugins/*/node_modules/
|
||||
mu-plugins/*/node_modules/
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user