mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-23 06:18:59 +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]
|
- event: [push, pull_request, tag, cron]
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
depends_on:
|
|
||||||
- lint
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# use vendor to cache dependencies
|
# use vendor to cache dependencies
|
||||||
vendor:
|
vendor:
|
||||||
@ -31,7 +28,7 @@ steps:
|
|||||||
dry-run: true
|
dry-run: true
|
||||||
tags: latest
|
tags: latest
|
||||||
when:
|
when:
|
||||||
- event: [push, pull_request]
|
- event: [pull_request]
|
||||||
path: Dockerfile
|
path: Dockerfile
|
||||||
|
|
||||||
build-tag:
|
build-tag:
|
||||||
@ -51,7 +48,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- just test
|
- just test
|
||||||
when:
|
when:
|
||||||
- event: [push, pull_request]
|
- event: [pull_request]
|
||||||
|
|
||||||
integration-tests:
|
integration-tests:
|
||||||
depends_on: build
|
depends_on: build
|
||||||
@ -65,7 +62,7 @@ steps:
|
|||||||
- RAW_DOMAIN=raw.localhost.mock.directory
|
- RAW_DOMAIN=raw.localhost.mock.directory
|
||||||
- PORT=4430
|
- PORT=4430
|
||||||
when:
|
when:
|
||||||
- event: [push, pull_request]
|
- event: [pull_request]
|
||||||
|
|
||||||
release:
|
release:
|
||||||
depends_on: build
|
depends_on: build
|
||||||
|
Loading…
Reference in New Issue
Block a user