From d97e2b41201ec3dd32de8567565c7d93f98cd9bd Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 14 Aug 2021 15:15:37 -0700 Subject: [PATCH] * Only build/deploy on master from now on --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5435bb9..8d8ae63 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,10 @@ before_script: - chmod 700 ~/.ssh/ build-site: + only: + refs: + - master + stage: build script: @@ -25,6 +29,10 @@ build-site: paths: ["./.mirror"] deploy-vps: + only: + refs: + - master + stage: deploy script: @@ -32,6 +40,10 @@ deploy-vps: - scp $SHOPTS -r .mirror root@shockrah.xyz:/var/www/website/ deploy-neocities: + only: + refs: + - master + stage: deploy script: