diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index 5744a5c..1c9babd 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -18,13 +18,13 @@ steps: - name: markdownlint image: quay.io/thegeeklab/markdownlint-cli - group: test + depends_on: [assets] commands: - markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md' - name: spellcheck image: quay.io/thegeeklab/alpine-tools - group: test + depends_on: [assets] commands: - spellchecker --files 'content/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls environment: @@ -32,22 +32,25 @@ steps: - name: link-validation image: docker.io/lycheeverse/lychee - group: test + depends_on: [assets] commands: - lychee --no-progress --format detailed content/ README.md - name: build image: quay.io/thegeeklab/hugo:0.133.0 + depends_on: [link-validation] 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 diff --git a/.woodpecker/notify.yml b/.woodpecker/notify.yml deleted file mode 100644 index 1cb4aa0..0000000 --- a/.woodpecker/notify.yml +++ /dev/null @@ -1,26 +0,0 @@ ---- -when: - - event: [tag] - - event: [push, manual, cron] - branch: - - ${CI_REPO_DEFAULT_BRANCH} - -runs_on: [success, failure] - -steps: - - name: matrix - image: quay.io/thegeeklab/wp-matrix - settings: - homeserver: - from_secret: matrix_homeserver - room_id: - from_secret: matrix_room_id - user_id: - from_secret: matrix_user_id - access_token: - from_secret: matrix_access_token - when: - - status: [failure] - -depends_on: - - docs