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