mirror of
https://github.com/thegeeklab/woodpecker-plugins.git
synced 2024-11-12 16:10:39 +00:00
use list style synatx and cleanup (#9)
This commit is contained in:
parent
e95a87983d
commit
3d4be14300
@ -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
|
||||
|
@ -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]
|
||||
|
@ -8,7 +8,7 @@ when:
|
||||
runs_on: [success, failure]
|
||||
|
||||
steps:
|
||||
matrix:
|
||||
- name: matrix
|
||||
image: quay.io/thegeeklab/wp-matrix
|
||||
settings:
|
||||
homeserver:
|
||||
|
Loading…
Reference in New Issue
Block a user