add confighooks
This commit is contained in:
parent
63c8062472
commit
0b67e82e63
4
.platform/confighooks/postdeploy/99_kill_default_nginx.sh
Executable file
4
.platform/confighooks/postdeploy/99_kill_default_nginx.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash -xe
|
||||
rm -f /etc/nginx/conf.d/00_elastic_beanstalk_proxy.conf
|
||||
service nginx stop
|
||||
service nginx start
|
7
.platform/confighooks/predeploy/00_build.sh
Executable file
7
.platform/confighooks/predeploy/00_build.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo primsa migrate
|
||||
npm run migrate
|
||||
|
||||
echo build with npm
|
||||
npm run build
|
Loading…
x
Reference in New Issue
Block a user