Skip to content
Snippets Groups Projects
Commit a8f32220 authored by Sean Fredrick Cruz's avatar Sean Fredrick Cruz
Browse files

Update .gitlab-ci.yml file

parent dcdf2375
No related branches found
No related tags found
No related merge requests found
Pipeline #67329 failed with stage
in 1 minute and 3 seconds
......@@ -23,9 +23,15 @@ build-frontend:
deploy-dev:
stage: deploy
script:
# Install kubectl
- curl -LO "https://dl.k8s.io/release/v1.28.0/bin/linux/amd64/kubectl"
- chmod +x ./kubectl
- mv ./kubectl /usr/local/bin/kubectl
# Set up kubeconfig
- mkdir -p ~/.kube
- echo $KUBE_CONFIG | base64 -d > ~/.kube/config
- chmod 600 ~/.kube/config
# Deploy
- kubectl apply -f task-app/
environment:
name: development
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment