Update .gitlab-ci.yml file

This commit is contained in:
Administrator 2023-10-07 14:56:20 +00:00
parent ea0333ee9a
commit 093f826095

View File

@ -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