Hugo

Sur son poste

  • Arch Linux :
yaourt -Sy hugo

Pipelines Bitbucket

Modifier les fichiers bitbucket-pipelines.yml de chaque pipelines utilisant HUGO (https://github.com/gohugoio/hugo/releases/)

image: beevelop/nodejs-python

pipelines:
  # Master branch deployment to live - no drafts
  branches:
    master:
      - step:
          script:
            - apt-get update -y && apt-get -y install wget git
            - git submodule update --init --recursive
            - wget https://github.com/gohugoio/hugo/releases/download/v0.74.3/hugo_0.74.3_Linux-64bit.deb
            - dpkg -i hugo*.deb
            - hugo -v
            - rsync -clvrz public/ docs101-pkgdata-com@push001.pkgdata.net:~/web/