Add CI integration (#1)
All checks were successful
ci/woodpecker/push/release Pipeline was successful
All checks were successful
ci/woodpecker/push/release Pipeline was successful
Reviewed-on: #1
This commit is contained in:
parent
1ed5918db9
commit
bcaadfc20e
3 changed files with 62 additions and 2 deletions
21
.woodpecker/.release.yml
Normal file
21
.woodpecker/.release.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
pipeline:
|
||||
build:
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
secrets:
|
||||
- SCW_ACCESS_KEY
|
||||
- SCW_SECRET_KEY
|
||||
- SCW_DEFAULT_ORGANIZATION_ID
|
||||
environment:
|
||||
CI: "true"
|
||||
image: python:3.10-slim
|
||||
commands:
|
||||
- apt-get update && apt-get install -y rclone wget git
|
||||
- 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/
|
22
Pipfile
22
Pipfile
|
@ -6,5 +6,23 @@ verify_ssl = true
|
|||
[dev-packages]
|
||||
|
||||
[packages]
|
||||
mkdocs-material = "*"
|
||||
markdown-include = "*"
|
||||
mkdocs-material = "==8.1.8"
|
||||
markdown-include = "==0.6.0"
|
||||
click = "==8.0.3"
|
||||
ghp-import = "==2.0.2"
|
||||
importlib-metadata = "==4.10.1"
|
||||
jinja2 = "==3.0.3"
|
||||
markdown = "==3.3.6"
|
||||
markupsafe = "==2.0.1"
|
||||
mergedeep = "==1.3.4"
|
||||
mkdocs = "==1.2.3"
|
||||
mkdocs-material-extensions = "==1.0.3"
|
||||
pygments = "==2.11.2"
|
||||
pymdown-extensions = "==9.1"
|
||||
pyparsing = "==3.0.7"
|
||||
python-dateutil = "==2.8.2"
|
||||
pyyaml = "==6.0"
|
||||
pyyaml-env-tag = "==0.1"
|
||||
six = "==1.16.0"
|
||||
watchdog = "==2.1.6"
|
||||
zipp = "==3.7.0"
|
||||
|
|
21
requirements.txt
Normal file
21
requirements.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
click==8.0.3
|
||||
ghp-import==2.0.2
|
||||
importlib-metadata==4.10.1
|
||||
Jinja2==3.0.3
|
||||
Markdown==3.3.6
|
||||
markdown-include==0.6.0
|
||||
MarkupSafe==2.0.1
|
||||
mergedeep==1.3.4
|
||||
mkdocs==1.2.3
|
||||
mkdocs-material==8.1.8
|
||||
mkdocs-material-extensions==1.0.3
|
||||
packaging==21.3
|
||||
Pygments==2.11.2
|
||||
pymdown-extensions==9.1
|
||||
pyparsing==3.0.7
|
||||
python-dateutil==2.8.2
|
||||
PyYAML==6.0
|
||||
pyyaml_env_tag==0.1
|
||||
six==1.16.0
|
||||
watchdog==2.1.6
|
||||
zipp==3.7.0
|
Reference in a new issue