summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 14f203f..a44c85f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@ build:
stage: build
image: edbizarro/gitlab-ci-pipeline-php:8.0-alpine
only:
- - main
+ - tags
script:
- composer install --prefer-dist --no-ansi --no-interaction --no-progress
@@ -24,7 +24,7 @@ deploy:
- job: build
artifacts: true
only:
- - main
+ - tags
script:
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/docker-compose.yml "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/docker-compose.yml/$(date +"%Y-%m-%d").$CI_COMMIT_SHORT_SHA/docker-compose.yml"'