Add deployment automation
* Introduce `docker-compose.yml` for containerized service orchestration. * Update `.gitlab-ci.yml` with new deployment stages and sync mechanisms, including production and dev environments.
This commit is contained in:
18
main-website/.gitlab-ci.yml
Normal file
18
main-website/.gitlab-ci.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
# Main Website - Build
|
||||
build_main:
|
||||
stage: build
|
||||
extends: .build-next-template
|
||||
variables:
|
||||
WORKDIR_PATH: main-website
|
||||
|
||||
# Main Website - Dockerize
|
||||
docker_main:
|
||||
stage: dockerize
|
||||
extends: .docker-build-template
|
||||
variables:
|
||||
IMAGE_NAME: main-website
|
||||
WORKDIR_PATH: main-website
|
||||
DOCKERFILE_PATH: Dockerfile
|
||||
needs:
|
||||
- job: build_main
|
||||
artifacts: true
|
||||
Reference in New Issue
Block a user