add ci/cd

This commit is contained in:
Kishan Takoordyal 2021-04-04 01:56:58 +04:00
parent 6b0f047772
commit 1e0f3b6061
No known key found for this signature in database
GPG Key ID: 304DF64F0804D6A1
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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