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:"