From aac0e1656a7087eb7cb9cf5f970897458b64c6c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sat, 10 Jun 2023 16:03:30 +0200 Subject: [PATCH] Revert "ci: prerelease every push to main" This reverts commit fcf63db24b59676c316624bc6623ec9ad45dd10e. --- .woodpecker.yml | 76 ++++++++++++++++++------------------------------- 1 file changed, 28 insertions(+), 48 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index a124454..422bc04 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -14,12 +14,11 @@ pipeline: # volumes: # - rust_registry:/usr/local/cargo when: - - branch: main - - path: - - migrations/**/* - - /**/*.rs - - /**/Cargo.lock - - Taskfile.yml + path: + - migrations/**/* + - /**/*.rs + - /**/Cargo.lock + - Taskfile.yml build:frontend: group: build @@ -28,10 +27,9 @@ pipeline: - node --version && npm --version - ./.ci_tmp/task build:frontend when: - - branch: main - - path: - - webui/**/* - - Taskfile.yml + path: + - webui/**/* + - Taskfile.yml lint:backend: group: lint @@ -43,11 +41,11 @@ pipeline: # volumes: # - rust_registry:/usr/local/cargo when: - - path: - - migrations/**/* - - /**/*.rs - - /**/Cargo.lock - - Taskfile.yml + path: + - migrations/**/* + - /**/*.rs + - /**/Cargo.lock + - Taskfile.yml lint:frontend: group: lint @@ -56,9 +54,9 @@ pipeline: - node --version && npm --version - ./.ci_tmp/task lint:frontend when: - - path: - - webui/**/* - - Taskfile.yml + path: + - webui/**/* + - Taskfile.yml lint:jslib: group: lint @@ -67,9 +65,9 @@ pipeline: - node --version && npm --version - ./.ci_tmp/task lint:jslib when: - - path: - - tools/upend_js/**/* - - Taskfile.yml + path: + - tools/upend_js/**/* + - Taskfile.yml lint:webext: group: lint @@ -78,9 +76,9 @@ pipeline: - node --version && npm --version - ./.ci_tmp/task lint:webext when: - - path: - - webext/**/* - - Taskfile.yml + path: + - webext/**/* + - Taskfile.yml test:backend: group: test @@ -91,12 +89,11 @@ pipeline: # volumes: # - rust_registry:/usr/local/cargo when: - - branch: main - - path: - - migrations/**/* - - /**/*.rs - - /**/Cargo.lock - - Taskfile.yml + path: + - migrations/**/* + - /**/*.rs + - /**/Cargo.lock + - Taskfile.yml package: image: rust:latest @@ -110,24 +107,7 @@ pipeline: - git status -vvv - ./.ci_tmp/task package when: - - branch: main - - event: [tag] - - publish_prerelease: - image: woodpeckerci/plugin-gitea-release - settings: - prerelease: true - base_url: https://git.thm.place - files: - - "*.AppImage" - - webext/web-ext-artifacts/*.zip - checksum: sha512 - api_key: - from_secret: woodpecker_api_key - target: main - when: - - branch: main - - event: [tag] + event: [tag] publish: image: woodpeckerci/plugin-gitea-release