optimize CI pipeline (run *only* on changes/tags)

feat/vaults
Tomáš Mládek 2021-06-19 12:46:45 +02:00
parent 40104d7fee
commit aba8f54555
1 changed files with 12 additions and 0 deletions

View File

@ -43,6 +43,12 @@ build:backend:
paths:
- target/release/upend
expire_in: 1 day
only:
changes:
- migrations/**/*
- src/**/*
- Cargo.*
- Makefile
build:frontend:
stage: build
@ -54,6 +60,10 @@ build:frontend:
paths:
- ui/dist
expire_in: 1 day
only:
changes:
- ui/**/*
- Makefile
test:backend:
stage: test
@ -76,3 +86,5 @@ package:
artifacts:
paths:
- ./*.AppImage
only:
- tags