Fix deploy:production job syntax - move 'when' before 'only'
This commit is contained in:
@@ -163,16 +163,16 @@ deploy:production:
|
||||
stage: deploy
|
||||
script:
|
||||
- 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..."
|
||||
dependencies:
|
||||
- build:release
|
||||
environment:
|
||||
name: production
|
||||
url: https://gitlab.silverlabs.uk/${CI_PROJECT_PATH}/-/releases
|
||||
when: manual
|
||||
only:
|
||||
- tags
|
||||
when: manual
|
||||
|
||||
# ===========================
|
||||
# Additional Jobs
|
||||
|
||||
Reference in New Issue
Block a user