mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-26 05:55:27 +00:00
don't depend on lint for push to main
This commit is contained in:
parent
68825a1727
commit
5265b3884b
@ -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 New Issue
Block a user