ci: replace deprecated group syntax
This commit is contained in:
parent
dcc957eec2
commit
f565783b7c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user