Commit 09fa93bb authored by Denis Filatov's avatar Denis Filatov
Browse files

Update .gitlab-ci.yml

parent e12beef3
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -3,10 +3,18 @@
image: alpine

documentation:
  script: mkdir -p docs && python asn2md.py docs `find . -iname '*.asn'`
  variables:
    GIT_STRATEGY: clone
  stage: build
  script:
    - mkdir -p docs
    - python asn2md.py docs `find . -iname '*.asn'`
    - git add docs/*.md
    - git commit -m "Documentation update"
    - git push
  only:
    changes:
      - ./*.asn
  artifacts:
    paths:
    - docs/*
#  artifacts:
#    paths:
#    - docs/*