~lyndsysimon/blog

5d45315e0d901335820accc97751558107291c33 — Lyndsy Simon 6 months ago a5bb53f
Implement build pipeline
1 files changed, 23 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +23 -0
@@ 0,0 1,23 @@
image: archlinux
oauth: pages.sr.ht/PAGES:RW

packages:
  - hut
  - pyenv
  - python-pipenv

environment:
  site: lyndsysimon.com
secrets:
  - ba578fe0-189b-4221-8dc8-ac1325cc8e42

tasks:
- package: |
    cd blog
    source ~/env
    pipenv install
    pipenv run mkdocs build
    cd site
    tar -cvz . > ~/site.tar.gz
- upload: |
    hut pages publish -d $site ~/site.tar.gz