[Notes] [Git][BuildGrid/buildgrid][mablanch/51-user-facing-docs] Build and publish documentation from master changes



Title: GitLab

Martin Blanchard pushed to branch mablanch/51-user-facing-docs at BuildGrid / buildgrid

Commits:

1 changed file:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -40,6 +40,17 @@ run-dummy-job-debian:
    40 40
       image: buildstream/buildstream-debian
    
    41 41
       <<: *dummy-job
    
    42 42
     
    
    43
    +build-docs:
    
    44
    +  stage: test
    
    45
    +  script:
    
    46
    +    - pip3 install --editable ".[docs]"
    
    47
    +    - make -C docs html
    
    48
    +    - mkdir -p documentation/
    
    49
    +    - cp -a docs/build/html/. documentation/
    
    50
    +  artifacts:
    
    51
    +    paths:
    
    52
    +    - documentation/
    
    53
    +
    
    43 54
     
    
    44 55
     coverage:
    
    45 56
       stage: post
    
    ... ... @@ -61,8 +72,10 @@ pages:
    61 72
       stage: post
    
    62 73
       dependencies:
    
    63 74
       - tests-debian-stretch
    
    75
    +  - build-docs
    
    64 76
       script:
    
    65
    -  - mv coverage/ public/
    
    77
    +  - cp -a coverage/. public/
    
    78
    +  - cp -a documentation/* public/
    
    66 79
       artifacts:
    
    67 80
         paths:
    
    68 81
         - public/
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]