TNO Intern

Commit bec3daae authored by Arjo Segers's avatar Arjo Segers
Browse files

Use smaller python image to generate documentation.

parent ab68cc3d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
# The Docker image that will be used to build your app
image: python:3.11
image: python:latest-slim

# Functions that should be executed before the build script is run
before_script:
@@ -18,7 +18,7 @@ pages:
      when: always
  script:
    - cd doc
    - make html
    - sphinx-build source build/html
    - cd ..
    - mkdir public
    - cp -r doc/build/html/* public
+2 −2
Original line number Diff line number Diff line
@@ -283,7 +283,7 @@ This should now be done when code is changed using a '*pipeline*'.
   .. sourcecode:: yaml

      # The Docker image that will be used to build your app
      image: python:3.11
      image: python:latest-slim

      # Functions that should be executed before the build script is run
      before_script:
@@ -300,7 +300,7 @@ This should now be done when code is changed using a '*pipeline*'.
            when: always
        script:
          - cd doc
          - make html
          - sphinx-build source build/html
          - cd ..
          - mkdir public
          - cp -r doc/build/html/* public