diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-03-05 20:26:40 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-03-05 20:26:40 -0300 |
commit | 98931e4e6183696e9bdb25b26f74e6b856ade496 (patch) | |
tree | 115cf2bccb48a31f8a48520c29da6142837a26c8 | |
parent | 7d00e6da5e20ec2060ec76062407e6ccfb56d4ae (diff) | |
download | templater-98931e4e6183696e9bdb25b26f74e6b856ade496.tar.gz templater-98931e4e6183696e9bdb25b26f74e6b856ade496.tar.bz2 |
Drupal: leave post-receive handling to pushtodeploy module
-rwxr-xr-x | share/templater/drupal7/files/bin/post-receive | 10 | ||||
-rwxr-xr-x | share/templater/drupal7/setup | 8 | ||||
-rwxr-xr-x | share/templater/drupal8/files/bin/post-receive | 8 | ||||
-rwxr-xr-x | share/templater/drupal8/setup | 8 |
4 files changed, 10 insertions, 24 deletions
diff --git a/share/templater/drupal7/files/bin/post-receive b/share/templater/drupal7/files/bin/post-receive deleted file mode 100755 index c9c0e79..0000000 --- a/share/templater/drupal7/files/bin/post-receive +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# -# Post-receive git hook. -# - -echo "Deploying on `cat /etc/hostname`..." - -cd .. -unset GIT_DIR -make deploy diff --git a/share/templater/drupal7/setup b/share/templater/drupal7/setup index ce38946..6335b37 100755 --- a/share/templater/drupal7/setup +++ b/share/templater/drupal7/setup @@ -49,9 +49,11 @@ function templater_drupal7 { cp $SHARE/drupal7/files/puppet/Puppetfile puppet/Puppetfile.drupal8 fi - if [ ! -e "bin/post-receive" ]; then - mkdir -p bin && cp $SHARE/drupal7/files/bin/post-receive bin/ - fi + # Use pushtodeploy instead + #if [ ! -e "bin/post-receive" ]; then + # mkdir -p bin && cp $SHARE/drupal7/files/bin/post-receive bin/ + #fi + templater_echo "Please use pushtodeploy module for automatede deploymends" mkdir -p files themes modules libraries vendor touch {files,config,themes,modules,libraries,vendor}/.empty diff --git a/share/templater/drupal8/files/bin/post-receive b/share/templater/drupal8/files/bin/post-receive deleted file mode 100755 index 070a34d..0000000 --- a/share/templater/drupal8/files/bin/post-receive +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# -# Post-receive git hook. -# - -cd .. -unset GIT_DIR -make deploy diff --git a/share/templater/drupal8/setup b/share/templater/drupal8/setup index d99489f..70c0185 100755 --- a/share/templater/drupal8/setup +++ b/share/templater/drupal8/setup @@ -57,9 +57,11 @@ function templater_drupal8 { cp $SHARE/drupal8/files/puppet/Puppetfile puppet/Puppetfile.drupal8 fi - if [ ! -e "bin/post-receive" ]; then - mkdir -p bin && cp $SHARE/drupal8/files/bin/post-receive bin/ - fi + # Use pushtodeploy instead + #if [ ! -e "bin/post-receive" ]; then + # mkdir -p bin && cp $SHARE/drupal8/files/bin/post-receive bin/ + #fi + templater_echo "Please use pushtodeploy module for automatede deploymends" mkdir -p files config/sync themes modules libraries vendor touch {files,config,themes,modules,libraries,vendor}/.empty |