mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-08 11:11:37 +00:00
Try path fix.
This commit is contained in:
parent
054910305f
commit
02036cf1a4
1 changed files with 1 additions and 1 deletions
|
@ -28,6 +28,7 @@ variables:
|
||||||
- wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
|
- wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||||
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
|
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||||
- cp cargo-binstall /usr/local/cargo/bin
|
- cp cargo-binstall /usr/local/cargo/bin
|
||||||
|
- export PATH="$CARGO_HOME/bin:$PATH"
|
||||||
|
|
||||||
# Broken for cron jobs currently, see
|
# Broken for cron jobs currently, see
|
||||||
# https://github.com/woodpecker-ci/woodpecker/issues/1716
|
# https://github.com/woodpecker-ci/woodpecker/issues/1716
|
||||||
|
@ -205,7 +206,6 @@ steps:
|
||||||
- <<: *install_binstall
|
- <<: *install_binstall
|
||||||
# Install diesel_cli
|
# Install diesel_cli
|
||||||
- cargo binstall -y diesel_cli -- --no-default-features --features postgres
|
- cargo binstall -y diesel_cli -- --no-default-features --features postgres
|
||||||
- export PATH="$CARGO_HOME/bin:$PATH"
|
|
||||||
# Run all migrations
|
# Run all migrations
|
||||||
- diesel migration run
|
- diesel migration run
|
||||||
# Dump schema to before.sqldump (PostgreSQL apt repo is used to prevent pg_dump version mismatch error)
|
# Dump schema to before.sqldump (PostgreSQL apt repo is used to prevent pg_dump version mismatch error)
|
||||||
|
|
Loading…
Reference in a new issue