Compare commits
No commits in common. "34da08d073f06430185760d7e17f573edfc41ba5" and "df9e52944a2c368baf3bf2a2b4399d93df20a3c9" have entirely different histories.
34da08d073
...
df9e52944a
27
.drone.yml
27
.drone.yml
|
|
@ -1,27 +0,0 @@
|
||||||
---
|
|
||||||
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
19
.gitignore
vendored
|
|
@ -1,19 +0,0 @@
|
||||||
*
|
|
||||||
!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