GitLab CI/CD 1 · Deploy and reuse
Deploy to an environment
Track deployments and their URL in GitLab.
deploy-prod:
stage: deploy
environment:
name: production
url: https://www.example.com
script:
- ./deploy.sh
Official GitLab CI/CD 1 documentation