From 8efe3226cc4a52edaac76234d13d501c0f2e9640 Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Wed, 16 Mar 2022 21:43:19 +0300 Subject: [PATCH] trying to make a gitlab pages job --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29589a2..830bba1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,3 +38,11 @@ deploy-job: # This job runs in the deploy stage. script: - rsync -e "ssh -o StrictHostKeyChecking=no" -ciIlprz public/ deploy@devurandom.xyz:~/out/ - ./upload.sh + +pages: + stage: deploy # This is the GitLab pages deploy script. + only: + - main #Do not run the deploy pipeline on merge requests + artifacts: + paths: + - "public"