.gitlab-ci.yml 384 Bytes
Newer Older
1
generate-readme: 
Arthur Lutz's avatar
Arthur Lutz committed
2
  image: fribbledom/markscribe
3
  script: 
Arthur Lutz's avatar
Arthur Lutz committed
4
    - mkdir output
Arthur Lutz's avatar
Arthur Lutz committed
5
    - /go/bin/markscribe -write output/README.md README.md.tpl
Arthur Lutz's avatar
Arthur Lutz committed
6
  artifacts:
Arthur Lutz's avatar
Arthur Lutz committed
7
8
    paths:
      - output/
Arthur Lutz's avatar
Arthur Lutz committed
9
10
commit-readme:
  image: r.intra.logilab.fr/library/buster
Arthur Lutz's avatar
Arthur Lutz committed
11
  script:
Arthur Lutz's avatar
Arthur Lutz committed
12
    - mv output/README.md .
Arthur Lutz's avatar
Arthur Lutz committed
13
    - hg add README.md
Arthur Lutz's avatar
Arthur Lutz committed
14
    - hg commit -m '🤖 generated README.md [skip ci]'
15
    - hg push