Import scripts now cloned from git rather than copied from the persistent directory structure
This commit is contained in:
parent
0e5271c94c
commit
db049b6511
@ -1,4 +1,4 @@
|
|||||||
## saint v0.3
|
## saint v0.4
|
||||||
## this is the all-in-one, standalone Discourse Docker container template
|
## this is the all-in-one, standalone Discourse Docker container template
|
||||||
##
|
##
|
||||||
## After making changes to this file, you MUST rebuild
|
## After making changes to this file, you MUST rebuild
|
||||||
@ -108,11 +108,12 @@ hooks:
|
|||||||
- gem install sqlite3
|
- gem install sqlite3
|
||||||
after_bundle_exec:
|
after_bundle_exec:
|
||||||
- exec:
|
- exec:
|
||||||
cd: /var/www/discourse
|
cd: /var/www/discourse/script/import_scripts
|
||||||
cmd:
|
cmd:
|
||||||
- apt-get install -y vim
|
- apt-get install -y vim
|
||||||
- cp /shared/slowtwitch/import_scripts/goss*.rb /var/www/discourse/script/import_scripts/
|
- git clone https://gitea.federated.computer/saint/discourse-import_scripts.git
|
||||||
- chown -R discourse:discourse /var/www/discourse/script/import_scripts/goss*.rb
|
- chown -R discourse:discourse discourse-import_scripts/*.rb
|
||||||
|
#- cp -a /shared/slowtwitch/import_scripts/goss*.rb /var/www/discourse/script/import_scripts/
|
||||||
#- mkdir /var/www/discourse/plugins/md5_authentication
|
#- mkdir /var/www/discourse/plugins/md5_authentication
|
||||||
#- cp -a /shared/slowtwitch/md5_authentication/plugin.rb /var/www/discourse/plugins/plugin.rb
|
#- cp -a /shared/slowtwitch/md5_authentication/plugin.rb /var/www/discourse/plugins/plugin.rb
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user