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"