Skip to content

Commit

Permalink
Fix musl build in before_deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
L1nkZ committed Dec 20, 2020
1 parent b30d93f commit 38dfcaf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ build() {
if [[ $TARGET != *-musl ]]; then
cargo build --target "$TARGET" --release --verbose
else
docker build -t build-"$PROJECT_NAME" -f docker/Dockerfile-musl .
docker run -v $(pwd):/home/rust/src build-"$PROJECT_NAME" --release --verbose
docker run -v "$TRAVIS_BUILD_DIR":/home/rust/src build-"$PROJECT_NAME" --release --verbose
fi
}

Expand Down

0 comments on commit 38dfcaf

Please sign in to comment.