~comcloudway/pages

fa5283d45333cf9b928bd07f005128598dcb70c4 — Jakob Meier 7 months ago 9b31e59
Migrated build script to hugo
1 files changed, 2 insertions(+), 5 deletions(-)

M .builds/publish.yml
M .builds/publish.yml => .builds/publish.yml +2 -5
@@ 4,16 4,13 @@ sources:
  - https://git.hut.ccw.icu/~comcloudway/pages
packages:
  # build dependencies
  - bash
  - sed
  - pandoc
  - hugo
  # deploy dependencies
  - s3fs-fuse
secrets:
  # s3fs passwd file
  - 52590bef-f27a-4b05-8262-4d14e68486e9
environment:
  domain: "https://ccw.icu"
  builddir: "pages/build"
  s3_url: "https://s3.ccw.icu"
  s3_bucket: "website"


@@ 26,6 23,6 @@ tasks:
      sudo s3fs $s3_bucket ~/$builddir -o url=$s3_url -o use_path_request_style -o umask=0007,uid=$(id -u) -o allow_other
  - builds: |
      cd pages
      bash ./build.sh $domain
      hugo -d ~/$builddir
  - cleanup: |
      sudo umount ~/$builddir