imfreedom/docs.imfreedom.org

Add the clean task/plan

2021-09-28, Gary Kramlich
206410350edf
Parents dd8a7d21a68c
Children ecd33726d4fa
Add the clean task/plan
  • +8 -0
    convey.yml
  • --- a/convey.yml Tue Sep 28 02:31:50 2021 -0500
    +++ b/convey.yml Tue Sep 28 02:39:28 2021 -0500
    @@ -16,6 +16,10 @@
    tag: ${REGISTRY}/${REPOSITORY}:${TAG}
    files: docs
    + clean:
    + type: docker/remove
    + images: ${REGISTRY}/${REPOSITORY}:${TAG}
    +
    login:
    type: docker/login
    server: ${REGISTRY}
    @@ -35,6 +39,10 @@
    stages:
    - tasks: [import, build]
    + clean:
    + stages:
    + - tasks: [clean]
    +
    publish:
    stages:
    - tasks: [login, publish]