Try fixing woodpecker 1.

This commit is contained in:
Dessalines 2024-03-25 14:48:38 -04:00
parent e8ae75a7b5
commit 7c2020a08d

View file

@ -5,6 +5,7 @@ variables:
- &rust_image "rust:1.76" - &rust_image "rust:1.76"
- &install_pnpm "corepack enable pnpm" - &install_pnpm "corepack enable pnpm"
- &slow_check_paths - &slow_check_paths
- event: pull_request
- path: - path:
include: [ include: [
# rust source code # rust source code
@ -200,6 +201,7 @@ steps:
- cat target/log/lemmy_*.out || true - cat target/log/lemmy_*.out || true
- "# If you can't see all output, then use the download button" - "# If you can't see all output, then use the download button"
when: when:
- event: pull_request
- status: [failure] - status: [failure]
publish_release_docker: publish_release_docker:
@ -247,6 +249,7 @@ steps:
- apk add curl - apk add curl
- "curl -d'Lemmy CI build failed: ${CI_PIPELINE_URL}' ntfy.sh/lemmy_drone_ci" - "curl -d'Lemmy CI build failed: ${CI_PIPELINE_URL}' ntfy.sh/lemmy_drone_ci"
when: when:
- event: pull_request
- status: [failure] - status: [failure]
notify_on_tag_deploy: notify_on_tag_deploy:
@ -255,7 +258,7 @@ steps:
- apk add curl - apk add curl
- "curl -d'lemmy:${CI_COMMIT_TAG} deployed' ntfy.sh/lemmy_drone_ci" - "curl -d'lemmy:${CI_COMMIT_TAG} deployed' ntfy.sh/lemmy_drone_ci"
when: when:
- event: tag event: tag
services: services:
database: database: