--- kind: pipeline type: docker name: build clone: depth: 0 steps: - name: split-languages image: python:3.11 commands: - pip install -U pip - python split_lang.py - rm -rf docs - mv docs_sv docs - mkdir -p docs/en - cp -r docs_en/* docs/en/ - name: build image: squidfunk/mkdocs-material:7.1.9 volumes: - name: site path: /site commands: - pip install -U -r ./requirements.txt - mkdocs build - cp -r site/ /site - chmod -R 777 /site volumes: - name: site host: path: /root/sa6anw