Add CI integration #1
1 changed files with 20 additions and 0 deletions
20
.woodpecker/.release.yml
Normal file
20
.woodpecker/.release.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
pipeline:
|
||||
build:
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
secrets:
|
||||
- SCW_ACCESS_KEY
|
||||
- SCW_SECRET_KEY
|
||||
- SCW_DEFAULT_ORGANIZATION_ID
|
||||
image: python:3.10-slim
|
||||
commands:
|
||||
- apt-get update && apt-get install -y rclone
|
||||
- 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 pipenv
|
||||
- pipenv install
|
||||
- pipenv run ./manage.sh all
|
||||
- rclone sync site/ scaleway:akkoma-docs/$CI_COMMIT_BRANCH/
|
Reference in a new issue