I’m building a deployment project for our internal stack, and it’s behaving oddly. The ‘Deploy to Test’ job works perfectly as expected, but ‘Deploy to Production’ is always grayed out and not runnable.
This seems pretty simple - what am I doing wrong? Thanks in advance!
stages:
- dev
- test
- production
Deploy to Test:
stage: test
environment:
name: test
url: https://project.test.com
when: manual
script: |
# Pull down a copy of our deployment scripts
git clone git@git.repo.com/docker-deploy.git
# Run deploy script for test
chmod +x deploy-test.sh
./deploy-test.sh $CI_BUILD_REF_NAME
image: docker.our-registry.com/build-env:latest
tags:
- linux
- docker
Deploy to Production:
stage: production
environment:
name: production
url: https://project.com
when: manual
script: |
# Pull down a copy of our deployment scripts
git clone git@git.repo.com/docker-deploy.git
# Run deploy script for production
chmod +x deploy-production.sh
./deploy-production.sh $CI_BUILD_REF_NAME
image: docker.our-registry.com/build-env:latest
tags:
- linux
- docker