- Remove current File
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch- Add
git add .gitignorefind . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatchgit add .gitignore| # Name of the Workflow | |
| name: DeployPublish | |
| # Run this workflow only on push on main branch. | |
| on: | |
| push: | |
| branches: | |
| - main | |
| # A workflow run is made up of one or more jobs that |
git checkout --orphan latest_branchgit add -ASteps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user