This commit is contained in:
parent
357ef1391f
commit
8d7db5788a
1 changed files with 4 additions and 1 deletions
|
@ -10,8 +10,11 @@ steps:
|
||||||
- sccache --show-stats
|
- sccache --show-stats
|
||||||
- curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
- curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
||||||
- cargo binstall -y trunk
|
- cargo binstall -y trunk
|
||||||
- trunk build --release -- --target-dir /var/woodpecker/portfolio-build
|
- trunk build --release
|
||||||
- rm -rf /var/woodpecker/portfolio
|
- rm -rf /var/woodpecker/portfolio
|
||||||
- mv dist /var/woodpecker/portfolio
|
- mv dist /var/woodpecker/portfolio
|
||||||
|
environment:
|
||||||
|
- PHOST=https://nations.lol/portfolio
|
||||||
|
- CARGO_BUILD_TARGET_DIR=/var/woodpecker/portfolio-build
|
||||||
volumes:
|
volumes:
|
||||||
- /var/woodpecker:/var/woodpecker
|
- /var/woodpecker:/var/woodpecker
|
||||||
|
|
Loading…
Reference in a new issue