From 5c3956f46e0c7b80a4ef9b4bfa1e8abc9f40b877 Mon Sep 17 00:00:00 2001 From: David Florness Date: Thu, 21 May 2020 15:28:07 -0600 Subject: [PATCH] Migrated to GitLab --- .build.yml | 18 ------------------ .gitlab-ci.yml | 17 +++++++++++++++++ site/index.dhtml | 4 ++-- 3 files changed, 19 insertions(+), 20 deletions(-) delete mode 100644 .build.yml create mode 100644 .gitlab-ci.yml diff --git a/.build.yml b/.build.yml deleted file mode 100644 index d12a3e9..0000000 --- a/.build.yml +++ /dev/null @@ -1,18 +0,0 @@ -image: alpine/edge -packages: - - pandoc - - rsync -sources: - - https://git.sr.ht/~edwargix/tallyard -environment: - deploy: deploy@tallyard.xyz -secrets: - - 22d51b58-cf60-4127-a353-8e8bb12f6e80 -tasks: - - build: | - cd tallyard/site - make - - deploy: | - cd tallyard/site - sshopts="ssh -o StrictHostKeyChecking=no" - rsync --rsh="$sshopts" -rP index.html tallyard.png $deploy:/var/www/tallyard.xyz/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..7b7a09e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +pages: + image: alpine:edge + stage: deploy + before_script: + - echo 'https://mirror.leaseweb.com/alpine/edge/testing' >> /etc/apk/repositories + - apk update + - apk add make pandoc + - mkdir public + script: + - cd site + - make + - cp *.png *.html ../public + artifacts: + paths: + - public + only: + - master diff --git a/site/index.dhtml b/site/index.dhtml index a8a4435..d9a7e07 100644 --- a/site/index.dhtml +++ b/site/index.dhtml @@ -20,8 +20,8 @@ - [repo] - [presentation] + [repo] + [presentation] ${README} -- 2.38.4