From 16cf0111c9d66f60dd6732dc387dd85bd1ee5dda Mon Sep 17 00:00:00 2001 From: ibdocs2 <20496203-ibdocs.2@users.noreply.gitlab.com> Date: Thu, 14 Mar 2024 12:34:56 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 99ec33e..df05b58 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,2 +1,22 @@ -# The Docker image that will be used to build your app -image: nginx +deploy: + stage: deploy + image: alpine:latest + script: + - mkdir .public + - cp -r * .public + artifacts: + paths: + - .public + only: + - master + +pages: + stage: deploy + image: alpine:latest + script: + - mv .public public + artifacts: + paths: + - public + only: + - master \ No newline at end of file