Commit daab6055 authored by Okhin's avatar Okhin

yaml syntax fixed

parent 0f8dbf9b
Pipeline #1110 passed with stages
in 14 seconds
...@@ -13,28 +13,28 @@ job composer install: ...@@ -13,28 +13,28 @@ job composer install:
only: only:
- master - master
job deploy preprod: job deploy preprod:
variables: variables:
BASE_PATH: /srv/piphone/frontend/ BASE_PATH: /srv/piphone/frontend/
environment: environment:
preprod preprod
script: script:
- rsync -ruvC ./ ${BASE_PATH} - rsync -ruvC ./ ${BASE_PATH}
stage: stage:
deploy deploy
tags: [preprod] tags: [preprod]
only: only:
- master - master
job deploy production: job deploy production:
variables: variables:
BASE_PATH: /srv/piphone/frontend BASE_PATH: /srv/piphone/frontend
environment: environment:
production production
script: script:
- rscyn -ruvC ./ ${BASE_PATH} - rscyn -ruvC ./ ${BASE_PATH}
stage: stage:
deploy deploy
only: only:
- master - master
when: manual when: manual
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment