add ci/cd
This commit is contained in:
parent
6b0f047772
commit
1e0f3b6061
@ -14,4 +14,4 @@ deploy:
|
|||||||
- chmod 644 ~/.ssh/known_hosts
|
- chmod 644 ~/.ssh/known_hosts
|
||||||
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||||
script:
|
script:
|
||||||
- ssh ubuntu@kinesis.games "cd /var/www/proximity-demo/ && sudo bash buildScript.sh"
|
- ssh edgeking810@kinesis.games "cd /var/www/proximity-demo/ && sudo bash buildScript.sh"
|
||||||
|
@ -4,4 +4,4 @@ git pull origin master
|
|||||||
npm i
|
npm i
|
||||||
npm run-script build
|
npm run-script build
|
||||||
chown -R root:www-data .
|
chown -R root:www-data .
|
||||||
systemctl reload apache2
|
systemctl reload nginx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user