make pipeline only run on main branch
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
AnActualEmerald 2022-09-11 22:08:05 -04:00
parent 29ad130193
commit 4b94c7799f
Signed by: emerald
GPG Key ID: CC76D6B296CAC8B0
1 changed files with 9 additions and 1 deletions

View File

@ -1,12 +1,20 @@
pipeline:
setup:
image: ivangabriele/tauri:bullseye-node18
when:
event: [push, pull_request, tag]
branch: main
commands:
- npm i -D @tauri-apps/cli
build:
image: ivangabriele/tauri:bullseye-node18
when:
event: [push, pull_request, tag]
branch: main
commands:
- apt install libasound2-dev
- npm ci
- npm run tauri build -b
- npm run tauri build