diff --git a/.woodpecker/.release.yml b/.woodpecker/.release.yml new file mode 100644 index 0000000..c7643e4 --- /dev/null +++ b/.woodpecker/.release.yml @@ -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/ diff --git a/Pipfile b/Pipfile index 3e538a5..d8f8450 100644 --- a/Pipfile +++ b/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" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..341bf6d --- /dev/null +++ b/requirements.txt @@ -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