imfreedom/contributors-guide

Add a convey.yml

23 months ago, Gary Kramlich
aab9c50a24ab
Parents a56bed1fca8f
Children 9c0ff4da827e
Add a convey.yml
  • +39 -0
    convey.yml
  • --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/convey.yml Mon May 16 21:06:52 2022 -0500
    @@ -0,0 +1,39 @@
    +---
    +tasks:
    + import:
    + type: docker/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
    + - mkdocs build
    +
    + export:
    + type: docker/export
    + files: site:site
    +
    +plans:
    + default:
    + stages:
    + - tasks:
    + - clean
    + - tasks:
    + - import
    + - build
    + - export
    + clean:
    + stages:
    + - tasks:
    + - clean