grim/convey

e5139263eab7
Parents c18271965f4e
Children 7879651faec4
Add convey-docs.yml for building the docs.

We're using a separate file because the normal convey.yml is setup to work with
current convey, but the docs needs to be built by old convey at the moment.
  • +2 -0
    .hgignore
  • +39 -0
    convey-docs.yml
  • --- a/.hgignore Sat Mar 26 06:27:05 2022 -0500
    +++ b/.hgignore Sat Mar 26 06:43:20 2022 -0500
    @@ -5,3 +5,5 @@
    convey-*-freebsd-*
    convey-*-linux-*
    convey-*-windows-*.exe
    +site
    +
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/convey-docs.yml Sat Mar 26 06:43:20 2022 -0500
    @@ -0,0 +1,39 @@
    +---
    +tasks:
    + import:
    + type: convey/import
    + files:
    + - .:.
    + clean:
    + type: convey/clean
    + files: site
    +
    + # we explicitly call out jinja2==3.0.3 because 3.1.0 breaks mkdocs
    + # https://github.com/mkdocs/mkdocs/issues/2799
    + build:
    + type: docker/run
    + image: docker.io/python:3-alpine
    + workdir: ${CONVEY_WORKSPACE}
    + script:
    + - set -ex
    + - python3 -m pip install mkdocs jinja2==3.0.3
    + - mkdocs build
    +
    + export:
    + type: docker/export
    + files: site:site
    +
    +plans:
    + default:
    + stages:
    + - tasks:
    + - clean
    + - tasks:
    + - import
    + - build
    + - export
    + clean:
    + stages:
    + - tasks:
    + - clean
    +