use prebuilt image for docs
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
FloatingGhost 2022-09-10 17:13:25 +01:00
parent cad2745734
commit ef4282b348

View file

@ -172,12 +172,8 @@ pipeline:
- SCW_DEFAULT_ORGANIZATION_ID - SCW_DEFAULT_ORGANIZATION_ID
environment: environment:
CI: "true" CI: "true"
image: python:3.10-slim image: akkoma/docs-builder
commands: commands:
- apt-get update && apt-get install -y rclone wget git zip
- wget https://github.com/scaleway/scaleway-cli/releases/download/v2.5.1/scaleway-cli_2.5.1_linux_amd64
- mv scaleway-cli_2.5.1_linux_amd64 scaleway-cli
- chmod +x scaleway-cli
- ./scaleway-cli object config install type=rclone - ./scaleway-cli object config install type=rclone
- cd docs - cd docs
- pip install -r requirements.txt - pip install -r requirements.txt