Revert "ci: prerelease every push to main"
ci/woodpecker/push/woodpecker Pipeline was successful Details

This reverts commit fcf63db24b.
feat/type-attributes
Tomáš Mládek 2023-06-10 16:03:30 +02:00
parent 867b9626ba
commit aac0e1656a
1 changed files with 28 additions and 48 deletions

View File

@ -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