~edwargix/tallyard

5c3956f46e0c7b80a4ef9b4bfa1e8abc9f40b877 — David Florness 5 years ago 975218d v0.0.0
Migrated to GitLab
3 files changed, 19 insertions(+), 20 deletions(-)

D .build.yml
A .gitlab-ci.yml
M site/index.dhtml
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}