diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0dbc258da3067389844091dd0bcbc3fdf710324c..d6c849ab9d95fc9212df927403ece0a2f8b9f146 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,18 +33,22 @@ js-syntax-check: - npm install -g jshint - find htdocs/js/ -name *.js ! -name jquery* | xargs -n 1 jshint --verbose -fake-deploy-beta: +deploy-beta: stage: deploy script: - - echo "Hello World!" + - apt update + - apt install curl + - curl https://beta.sucs.org/pull.php only: - beta environment: beta -fake-deploy-live: +deploy-live: stage: deploy script: - - echo "Hello World!" + - apt update + - apt install curl + - curl https://sucs.org/pull.php only: - sucs-site environment: live \ No newline at end of file diff --git a/htdocs/pull.php b/htdocs/pull.php new file mode 100644 index 0000000000000000000000000000000000000000..1f6d0c280240ffb37313dfe985b56e6d96a260b5 --- /dev/null +++ b/htdocs/pull.php @@ -0,0 +1,5 @@ + \ No newline at end of file