any one help me
i make custom code add in app.yml
run:
- exec: chmod -R 777 /var/www/discourse/customize
- exec: chmod -R 777 /var/www/discourse/app/controllers/
- exec: mkdir -p /var/www/discourse/controll
- exec: chmod -R 777 /var/www/discourse/controll
- exec: chown discourse:discourse /var/www/discourse/controll
- exec: cp /var/www/discourse/customize/static_controller.rb /var/www/discourse/controll
- exec: cp /var/www/discourse/customize/routes.rb /var/www/discourse/controll
- exec: cp /var/www/discourse/customize/site_settings.yml /var/www/discourse/controll
run:
- exec: echo "Copying file to /var/www/discourse/app/controller"
- exec: chmod -R 777 /var/www/discourse/config
all things running successfully
but i use mv command its break the code
- exec: mv /var/www/discourse/controll/routes.rb /var/www/discourse/config