mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-29 07:41:20 +00:00
Update .woodpecker.yml
This commit is contained in:
parent
4dd36f1a15
commit
057315749a
1 changed files with 3 additions and 1 deletions
|
@ -10,8 +10,9 @@ variables:
|
||||||
- "src/**"
|
- "src/**"
|
||||||
- "**/Cargo.toml"
|
- "**/Cargo.toml"
|
||||||
- "Cargo.lock"
|
- "Cargo.lock"
|
||||||
# database migrations
|
# sql code
|
||||||
- "migrations/**"
|
- "migrations/**"
|
||||||
|
- "replaceable_schema.sql"
|
||||||
# typescript tests
|
# typescript tests
|
||||||
- "api_tests/**"
|
- "api_tests/**"
|
||||||
# config files and scripts used by ci
|
# config files and scripts used by ci
|
||||||
|
@ -162,6 +163,7 @@ steps:
|
||||||
DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
|
DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
|
||||||
commands:
|
commands:
|
||||||
- diesel migration run
|
- diesel migration run
|
||||||
|
- psql -f replaceable_schema.sql $DATABASE_URL
|
||||||
- diesel migration redo
|
- diesel migration redo
|
||||||
when: *slow_check_paths
|
when: *slow_check_paths
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue