Completing CD workflow
Returning to our continuous deployment script, let's now add the final job to our pipeline which is the deploy job.
So let's create a new top-level property deploy. We'll then give this a key stage and set that to deploy. We'll also add an only key and give it an array member deploy as well.
.gitlab-ci.yml
deploy:
stage: deploy
only:
- deploy
Click to load comments...