mirror of
https://gitgud.io/amevarashi/rjw-sexperience-ideology.git
synced 2024-08-15 00:43:19 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
parent
4136e131e7
commit
80f0786960
1 changed files with 15 additions and 5 deletions
|
@ -96,7 +96,7 @@ build:
|
|||
artifacts:
|
||||
untracked: false
|
||||
when: on_success
|
||||
expire_in: 3 days
|
||||
expire_in: 1 day
|
||||
paths:
|
||||
- "*" # Incluse everything
|
||||
exclude:
|
||||
|
@ -117,7 +117,17 @@ build:
|
|||
# script:
|
||||
# - 'dotnet test --no-restore'
|
||||
|
||||
#deploy:
|
||||
# stage: deploy
|
||||
# script: echo "Define your deployment script!"
|
||||
# environment: production
|
||||
release_dev:
|
||||
stage: deploy
|
||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
when: never # Do not run this job when a tag is created manually
|
||||
- if: $CI_COMMIT_BRANCH == "ci-test" # Run this job when commits are pushed or merged to the dev branch
|
||||
script:
|
||||
- echo "running release_job for $TAG"
|
||||
release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
|
||||
tag_name: 'test-build-$CI_PIPELINE_IID' # The version is incremented per pipeline.
|
||||
description: 'Automated release based on commit $CI_COMMIT_SHA'
|
||||
ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA.
|
||||
|
||||
|
|
Loading…
Reference in a new issue