diff --git a/.batchfile b/.batchfile index f66d96c..865b139 100644 --- a/.batchfile +++ b/.batchfile @@ -8,3 +8,5 @@ https://github.com/thegeeklab/wp-matrix;docs:content/;content/plugins/wp-matrix https://github.com/thegeeklab/wp-matrix;docs:data/;data/properties/wp-matrix https://github.com/thegeeklab/wp-git-action;docs:content/;content/plugins/wp-git-action https://github.com/thegeeklab/wp-git-action;docs:data/;data/properties/wp-git-action +https://github.com/thegeeklab/wp-ansible;docs:content/;content/plugins/wp-ansible +https://github.com/thegeeklab/wp-ansible;docs:data/;data/properties/wp-ansible diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index 0079310..70da0cd 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -6,57 +6,50 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - assets: + - name: assets image: quay.io/thegeeklab/alpine-tools commands: - make doc - sync: + - name: sync image: quay.io/thegeeklab/git-batch commands: - git-batch - markdownlint: + - name: markdownlint image: quay.io/thegeeklab/markdownlint-cli + group: test commands: - markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md' - spellcheck: + - name: spellcheck image: quay.io/thegeeklab/alpine-tools - commands: - - spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls - 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 -e https://pkg.go.dev.* + - spellchecker --files 'content/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls environment: - LINK_VALIDATOR_BASE_DIR: public - LINK_VALIDATOR_RETRIES: "3" + FORCE_COLOR: "true" - build: + - name: link-validation + image: docker.io/lycheeverse/lychee + group: test + commands: + - lychee --no-progress --format detailed content/ README.md + + - name: build image: quay.io/thegeeklab/hugo:0.115.2 commands: + # Fetch is used to get the full git history. + # Required for Hugos git metadata integration. + - git fetch --depth=2147483647 - hugo --panicOnWarning - beautify: + - name: beautify image: quay.io/thegeeklab/alpine-tools commands: - html-beautify -r -f 'public/**/*.html' - environment: - FORCE_COLOR: "true" - NPM_CONFIG_LOGLEVEL: error - publish: + - name: publish image: quay.io/thegeeklab/wp-s3-action settings: access_key: @@ -76,3 +69,4 @@ steps: - event: [push, manual, cron] branch: - ${CI_REPO_DEFAULT_BRANCH} + status: [success, failure] diff --git a/.woodpecker/notify.yml b/.woodpecker/notify.yml index 3cd833b..9ba18a9 100644 --- a/.woodpecker/notify.yml +++ b/.woodpecker/notify.yml @@ -8,7 +8,7 @@ when: runs_on: [success, failure] steps: - matrix: + - name: matrix image: quay.io/thegeeklab/wp-matrix settings: homeserver: