Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up an automatic deployment step from the master CI #637

Open
mkalam-alami opened this issue Mar 21, 2021 · 0 comments
Open

Set up an automatic deployment step from the master CI #637

mkalam-alami opened this issue Mar 21, 2021 · 0 comments
Labels
technical Issues for tech nerds

Comments

@mkalam-alami
Copy link
Contributor

mkalam-alami commented Mar 21, 2021

If the previous steps succeed, have an additional step rsync the build output to the server.

On the server itself, set up pm2 to automatically restart Alakajam if changes are detected in the dist/ folder.

EDIT: Except it needs to run npm install if the package.json has changed... And a git pull too because static files are not in the dist folder...

See also: https://pm2.keymetrics.io/docs/usage/deployment/

@mkalam-alami mkalam-alami added the technical Issues for tech nerds label Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical Issues for tech nerds
Development

No branches or pull requests

1 participant