.gitlab-ci.yml 603 Bytes
Newer Older
Benjamin Engel's avatar
Benjamin Engel committed
1 2 3 4 5 6
# Cache docker images
cache:
  key: one-key-to-rule-them-all

stages:
  - build
7 8 9
  
before_script:
  - touch main.adoc
Benjamin Engel's avatar
Benjamin Engel committed
10 11 12

html:
  stage: build
13 14
  tags:
     - asciidoc
Benjamin Engel's avatar
Benjamin Engel committed
15 16 17 18 19 20
  script: 
     - asciidoctor -r asciidoctor-diagram main.adoc -o P2020_OpenSCENARIO_2-0_Project_Proposal.html
  artifacts:
    paths:
     - P2020_OpenSCENARIO_2-0_Project_Proposal.html

21 22 23 24 25 26 27
# pdf:
#   stage: build
#   script: 
#      - asciidoctor-pdf -r asciidoctor-diagram -r asciidoctor-mathematical main.adoc -o P2020_OpenSCENARIO_2-0_Project_Proposal.pdf
#   artifacts:
#     paths:
#      - P2020_OpenSCENARIO_2-0_Project_Proposal.pdf