* Fixing busted binary path

This commit is contained in:
shockrah 2022-01-29 13:32:43 -08:00
parent 954f4ced8d
commit 541e1345d1

View File

@ -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: