mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-01-18 08:37:54 +00:00
don't depend on lint for push to main
This commit is contained in:
parent
68825a1727
commit
5265b3884b
1 changed files with 3 additions and 6 deletions
|
@ -2,9 +2,6 @@ when:
|
|||
- event: [push, pull_request, tag, cron]
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
depends_on:
|
||||
- lint
|
||||
|
||||
steps:
|
||||
# use vendor to cache dependencies
|
||||
vendor:
|
||||
|
@ -31,7 +28,7 @@ steps:
|
|||
dry-run: true
|
||||
tags: latest
|
||||
when:
|
||||
- event: [push, pull_request]
|
||||
- event: [pull_request]
|
||||
path: Dockerfile
|
||||
|
||||
build-tag:
|
||||
|
@ -51,7 +48,7 @@ steps:
|
|||
commands:
|
||||
- just test
|
||||
when:
|
||||
- event: [push, pull_request]
|
||||
- event: [pull_request]
|
||||
|
||||
integration-tests:
|
||||
depends_on: build
|
||||
|
@ -65,7 +62,7 @@ steps:
|
|||
- RAW_DOMAIN=raw.localhost.mock.directory
|
||||
- PORT=4430
|
||||
when:
|
||||
- event: [push, pull_request]
|
||||
- event: [pull_request]
|
||||
|
||||
release:
|
||||
depends_on: build
|
||||
|
|
Loading…
Reference in a new issue