Delegia AWS
For example https://web.delegia.net/projects/happenn-demo
Push your code changes to master branch on GIT
Upload a .zip file of changed files via SFTP. You can use same ssh key, username, ip as the ssh command for step 3. For example in FileZilla program https://stackoverflow.com/a/49053891
Upload to folder: /home/<username>/
.zip file should start folder structure with "resources" folder. See example file further down.
SSH to server and run commands:
$ ssh -i ~/.ssh/delegia.pem [email protected]
$ cd /home/<username>/
$ sudo unzip <file>.zip -d /var/www/html
$ cd /var/www/html
$ npm run deploy
Last updated