From 64beb30d2b7e1b6cef9ef58cc0af7dde2938ce0b Mon Sep 17 00:00:00 2001 From: Cat Flynn Date: Fri, 29 Jan 2021 18:15:09 +0000 Subject: [PATCH] add deploy release job --- .gitlab-ci.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b21e44a..06fb9bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,13 +22,13 @@ build: .deploy: &deploy stage: deploy + rules: + - if: $CI_COMMIT_BRANCH == "feature/cd" dependencies: - build deploy-dev: <<: *deploy - rules: - - if: $CI_COMMIT_BRANCH == "main" variables: ITCH_USER: "cyndrdev" ITCH_GAME: "revival-internal-track" @@ -36,3 +36,14 @@ deploy-dev: script: - chmod +x ./ci/deploy.sh - ./ci/deploy.sh $BUILD_DIR $ITCH_USER $ITCH_GAME $ITCH_TRACK + +deploy-release: + <<: *deploy + rules: + - if: $CI_COMMIT_TAG + variables: + ITCH_USER: "cyndrdev" + ITCH_GAME: "revival" + ITCH_TRACK: "windows" + scripts: + - echo "deploy release :bolb:"