diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index a7acd38..f8c9fcc 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -13,13 +13,13 @@ steps: - name: markdownlint image: quay.io/thegeeklab/markdownlint-cli - group: test + depends_on: [assets] commands: - markdownlint 'content/**/*.md' 'README.md' - name: spellcheck image: quay.io/thegeeklab/alpine-tools - group: test + depends_on: [assets] commands: - spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls frontmatter --frontmatter-keys title tags environment: @@ -27,12 +27,13 @@ steps: - name: link-validation image: docker.io/lycheeverse/lychee - group: test + depends_on: [assets] commands: - lychee --no-progress --format detailed content/ README.md - name: favicons image: docker.io/node:lts-alpine + depends_on: [markdownlint, spellcheck, link-validation] commands: - npm install --quiet --no-progress - npm run build @@ -41,16 +42,19 @@ steps: - name: build image: quay.io/thegeeklab/hugo:0.136.5 + depends_on: [favicons] commands: - hugo --panicOnWarning - name: beautify image: quay.io/thegeeklab/alpine-tools + depends_on: [build] commands: - html-beautify -r -f 'public/**/*.html' - name: publish image: quay.io/thegeeklab/wp-s3-action + depends_on: [beautify] settings: access_key: from_secret: s3_access_key