ci: replace deprecated group syntax
All checks were successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-10-30 21:33:30 +01:00
parent dcc957eec2
commit f565783b7c
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

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