Skip to content

Commit

Permalink
added config to deploy production manually
Browse files Browse the repository at this point in the history
  • Loading branch information
darefalola committed Oct 28, 2024
1 parent e7f3040 commit b670bfc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,9 @@ deploy_to_k8s_production:
- export KUBECONFIG=~/.kube/config
- sed -i "s#<DOCKER_IMAGE>#${DOCKER_IMAGE}#g" ./k8s/base/app/django-deployment.yaml
- kubectl apply -k ./k8s/overlays/production
- kubectl rollout restart deployment django-deployment-production -n tark-production
- kubectl rollout restart deployment django-deployment-production -n tark-production

only:
- main

when: manual

0 comments on commit b670bfc

Please sign in to comment.