Fix deploy:production job syntax - move 'when' before 'only'
This commit is contained in:
@@ -163,16 +163,16 @@ deploy:production:
|
|||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- echo "Deploying to production..."
|
- echo "Deploying to production..."
|
||||||
- echo "Release APK: app/build/outputs/apk/release/app-release-unsigned.apk"
|
- echo "Release APK app/build/outputs/apk/release/app-release-unsigned.apk"
|
||||||
- echo "Creating release tag..."
|
- echo "Creating release tag..."
|
||||||
dependencies:
|
dependencies:
|
||||||
- build:release
|
- build:release
|
||||||
environment:
|
environment:
|
||||||
name: production
|
name: production
|
||||||
url: https://gitlab.silverlabs.uk/${CI_PROJECT_PATH}/-/releases
|
url: https://gitlab.silverlabs.uk/${CI_PROJECT_PATH}/-/releases
|
||||||
|
when: manual
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
when: manual
|
|
||||||
|
|
||||||
# ===========================
|
# ===========================
|
||||||
# Additional Jobs
|
# Additional Jobs
|
||||||
|
|||||||
Reference in New Issue
Block a user