deploy: stage: deploy script: - npm run deploy environment: name: production url: https://example.com only: - main
By treating the as your textbook, Open Public Projects as your case studies, and the GitLab Forum as your professor, you can master the art of CI/CD pipelines for free. The code is open; the documentation is open. All that is left is for you to start reading. deploy: stage: deploy script: - npm run deploy
The GitLab CI/CD Documentation is the most authoritative place to start. It includes: deploy: stage: deploy script: - npm run deploy