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