Tags: GitLab, CI/CD Pipelines, Yml, Docker Compose, Bash scripting, SSH
Stack: GitLab, CI/CD Pipelines, Bash scripting, SSH
Approach: I created a Pipeline specifically for a project that was going to be published on a shared VPS. The pipeline handles the compilation of the project through NPM, then sends all the artifacts through SCP using a safely stored SSH key. The job takes only a few minutes to run and, unless there is something wrong with the VPS, it’s always successful.