Update .gitlab-ci.yml file
This commit is contained in:
parent
ea0333ee9a
commit
093f826095
@ -22,6 +22,7 @@ stages: # List of stages for jobs, and their order of execution
|
||||
|
||||
build-job: # This job runs in the build stage, which runs first.
|
||||
stage: build
|
||||
image: python:latest
|
||||
script:
|
||||
- python build.py
|
||||
artifacts:
|
||||
@ -31,7 +32,7 @@ build-job: # This job runs in the build stage, which runs first.
|
||||
deploy-job: # This job runs in the deploy stage.
|
||||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||
environment: production
|
||||
image: eeacms/rsync
|
||||
image: eeacms/rsync:latest
|
||||
script:
|
||||
- cat index.html
|
||||
- rsync -az rsync@10.80.15.254::backend ./index.html
|
||||
Loading…
Reference in New Issue
Block a user