* Fixing busted binary path
This commit is contained in:
parent
954f4ced8d
commit
541e1345d1
@ -21,7 +21,7 @@ pages:
|
||||
# Literally both of these fail 99% of the time so I'm forgoing them completely
|
||||
# for now until I find something doesn't suck
|
||||
# Builds out the intended zip package
|
||||
package:
|
||||
build-binaries:
|
||||
image: rustlang/rust:nightly
|
||||
stage: build
|
||||
script:
|
||||
@ -30,7 +30,7 @@ package:
|
||||
- cd api/
|
||||
- cargo build --release
|
||||
- cd ../
|
||||
- cp api/target/release/api build/server
|
||||
- cp api/target/release/clippable-server build/server
|
||||
- cp ./scripts/ build/ -r
|
||||
- cp readme.md build/
|
||||
- sh ./scripts/default-rocket-toml.sh
|
||||
@ -38,13 +38,15 @@ package:
|
||||
paths:
|
||||
- build/
|
||||
|
||||
# Build the updated docker
|
||||
build-docker-image:
|
||||
# Upload built docker image to the local registry
|
||||
deploy-docker-image:
|
||||
stage: deploy
|
||||
image: docker:stable
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
needs:
|
||||
- package
|
||||
dependencies:
|
||||
- package
|
||||
services:
|
||||
|
Loading…
Reference in New Issue
Block a user