ci: fix docs upload
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Robert Kaussow 2023-09-27 20:59:47 +02:00
parent e9af3ead70
commit 356b940023
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 107 additions and 2 deletions

View File

@ -63,7 +63,8 @@ steps:
from_secret: s3_access_key
bucket: geekdocs
delete: true
endpoint: https://sp.rknet.org
endpoint:
from_secret: s3_endpoint
path_style: true
secret_key:
from_secret: s3_secret_access_key
@ -83,6 +84,6 @@ trigger:
---
kind: signature
hmac: c90223c38c15acd2f8a5696eb8a8074777e4f5fdca1d89903f81566ba87ba2db
hmac: 8278b0d5ec90af176b45dd38844f5ef9351921dbe89638938cc7398ff3984fea
...

78
.woodpecker/docs.yml Normal file
View File

@ -0,0 +1,78 @@
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
assets:
image: quay.io/thegeeklab/alpine-tools
commands:
- make doc
sync:
image: quay.io/thegeeklab/git-batch
commands:
- git-batch
markdownlint:
image: quay.io/thegeeklab/markdownlint-cli
commands:
- markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md'
spellcheck:
image: quay.io/thegeeklab/alpine-tools
commands:
- spellchecker --no-gitignore --files 'content/**/_index.md' 'README.md' '!content/filters/*' '!content/modules/*' -d .dictionary -p spell indefinite-article syntax-urls frontmatter --frontmatter-keys title
environment:
FORCE_COLOR: "true"
NPM_CONFIG_LOGLEVEL: error
testbuild:
image: quay.io/thegeeklab/hugo:0.115.2
commands:
- hugo --panicOnWarning -b http://localhost:8000/
link-validation:
image: quay.io/thegeeklab/link-validator
group: test
commands:
- link-validator --color=always --rate-limit 10 --timeout 60
environment:
LINK_VALIDATOR_BASE_DIR: public
LINK_VALIDATOR_RETRIES: "3"
build:
image: quay.io/thegeeklab/hugo:0.115.2
commands:
- hugo --panicOnWarning
beautify:
image: quay.io/thegeeklab/alpine-tools
commands:
- html-beautify -r -f 'public/**/*.html'
environment:
FORCE_COLOR: "true"
NPM_CONFIG_LOGLEVEL: error
publish:
image: quay.io/thegeeklab/wp-s3-action
settings:
access_key:
from_secret: s3_access_key
bucket: geekdocs
delete: true
endpoint:
from_secret: s3_endpoint
path_style: true
secret_key:
from_secret: s3_secret_access_key
source: public/
strip_prefix: public/
target: /${CI_REPO_NAME}
when:
- event: [tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}

26
.woodpecker/notify.yml Normal file
View File

@ -0,0 +1,26 @@
---
when:
- event: [tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
runs_on: [success, failure]
steps:
matrix:
image: quay.io/thegeeklab/wp-matrix
settings:
homeserver:
from_secret: matrix_homeserver
password:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
username:
from_secret: matrix_username
when:
- status: [failure]
depends_on:
- docs