From b2f223351bdd0aa9c6b9ddf6d4c3e821070f790b Mon Sep 17 00:00:00 2001 From: West Date: Sat, 1 Jan 2022 17:27:49 -0500 Subject: [PATCH] Add CI/CD file --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..7e020ae --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +--- +image: dokku/ci-docker-image + +stages: + - deploy + +variables: + GIT_DEPTH: 0 + +deploy: + stage: deploy + only: + - main + variables: + GIT_REMOTE_URL: ssh://dokku@10.0.8.22:22/seanhale.xyz + script: dokku-deploy + after_script: [dokku-unlock] +