Compare commits

...

2 Commits

Author SHA1 Message Date
naomi 9cf19f0e15 Added push_project script 2022-04-08 12:24:29 +01:00
naomi 234f42fec7 added updb to update_project script 2022-04-08 12:07:41 +01:00
4 changed files with 4 additions and 2 deletions

3
.gitignore vendored
View File

@ -2,7 +2,8 @@
!composer.json
!composer.lock
!update_project.sh
!push_project.sh
!pull_project.sh
!.gitignore
!config
!config/*

1
pull_project.sh Executable file
View File

@ -0,0 +1 @@
git pull && composer install && drush updb && drush config:import --source=../config -y

1
push_project.sh Executable file
View File

@ -0,0 +1 @@
composer update && drush config:export --destination=../config -y && git add && git commit -m "Updated project"

View File

@ -1 +0,0 @@
git pull && composer install && drush config:import --source=../config -y