Files
WebETA/.gitlab-ci.yml
2026-03-28 15:21:41 -06:00

55 lines
824 B
YAML

stages:
- build
- upload
- deploy
variables:
PIPELINE_WORK_DIR: "./"
BUILD_NAME: "enruta_web_dashboard"
build-job:
stage: build
script:
- . ./scripts/ci_functions.sh
- build_production
artifacts:
paths:
- $PIPELINE_WORK_DIR/$BUILD_NAME.zip
expire_in: 1 week
only:
- master
deploy-job:
stage: deploy
script:
- . ./scripts/ci_functions.sh
- deploy_production
only:
- master
build-sandbox-job:
stage: build
script:
- . ./scripts/ci_functions.sh
- build_sandbox
only:
- development
upload-sandbox-job:
stage: upload
script:
- . ./scripts/ci_functions.sh
- upload_sandbox
only:
- development
deploy-sandbox-job:
stage: deploy
script:
- . ./scripts/ci_functions.sh
- deploy_sandbox
only:
- development