forked from linux/WebHosting
Delete .gitlab-ci.yml
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
image: docker:latest # Base image
|
||||
|
||||
services:
|
||||
- docker:dind # Docker-in-Docker service
|
||||
|
||||
variables:
|
||||
DOCKER_HOST: tcp://docker:2375/
|
||||
|
||||
stages:
|
||||
- deploy
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
only:
|
||||
- main # Only run this job on merges to the main branch
|
||||
|
||||
script:
|
||||
- echo "Starting deployment..."
|
||||
- docker compose up -d # Start services without interrupting existing ones
|
||||
- docker exec nginx_proxy nginx -s reload # Reload NGINX inside the container
|
||||
- echo "Deployment completed."
|
||||
Reference in New Issue
Block a user