diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0dbc258da3067389844091dd0bcbc3fdf710324c..7639f8a5e2e36bce9caa34da08b2ca7da5582bcf 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 -y 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 -y 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..b70f210e288e51becce9df5767ea629b1a2df4a6 --- /dev/null +++ b/htdocs/pull.php @@ -0,0 +1,14 @@ + \ No newline at end of file