From 093f826095a0db28f6fb846da08794358a78a5b9 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 7 Oct 2023 14:56:20 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9201227..e019ca5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file