D .build.yml => .build.yml +0 -18
@@ 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/
A .gitlab-ci.yml => .gitlab-ci.yml +17 -0
@@ 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
M site/index.dhtml => site/index.dhtml +2 -2
@@ 20,8 20,8 @@
<body>
<img width="30px" src="tallyard.png" />
- <a href="https://git.sr.ht/~edwargix/tallyard">[repo]</a>
- <a href="https://git.sr.ht/~edwargix/tallyard/blob/master/doc/oresec-talk/tallyard.pdf">[presentation]</a>
+ <a href="https://gitlab.com/edwargix/tallyard">[repo]</a>
+ <a href="https://gitlab.com/edwargix/tallyard/-/raw/master/doc/oresec-talk/tallyard.pdf">[presentation]</a>
${README}