This commit is contained in:
parent
64fa6ed51a
commit
9bbdb6a192
1 changed files with 3 additions and 2 deletions
|
@ -11,11 +11,12 @@ pipeline:
|
|||
CI: "true"
|
||||
image: python:3.10-slim
|
||||
commands:
|
||||
- apt-get update && apt-get install -y rclone wget git
|
||||
- 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
|
||||
- pip install -r requirements.txt
|
||||
- ./manage.sh all
|
||||
- rclone sync site/ scaleway:akkoma-docs/$CI_COMMIT_BRANCH/
|
||||
- zip -r site/* docs.zip
|
||||
- rclone copy docs.zip scaleway:akkoma-docs/$CI_COMMIT_BRANCH/
|
||||
|
|
Reference in a new issue