Revert "use prebuilt image for docs"

This reverts commit ef4282b348.
This commit is contained in:
FloatingGhost 2022-09-10 21:08:22 +01:00
parent f376eb7106
commit dfba26a09c

View file

@ -172,8 +172,12 @@ pipeline:
- SCW_DEFAULT_ORGANIZATION_ID - SCW_DEFAULT_ORGANIZATION_ID
environment: environment:
CI: "true" CI: "true"
image: akkoma/docs-builder image: python:3.10-slim
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