* 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 # Literally both of these fail 99% of the time so I'm forgoing them completely
# for now until I find something doesn't suck # for now until I find something doesn't suck
# Builds out the intended zip package # Builds out the intended zip package
package: build-binaries:
image: rustlang/rust:nightly image: rustlang/rust:nightly
stage: build stage: build
script: script:
@ -30,7 +30,7 @@ package:
- cd api/ - cd api/
- cargo build --release - cargo build --release
- cd ../ - cd ../
- cp api/target/release/api build/server - cp api/target/release/clippable-server build/server
- cp ./scripts/ build/ -r - cp ./scripts/ build/ -r
- cp readme.md build/ - cp readme.md build/
- sh ./scripts/default-rocket-toml.sh - sh ./scripts/default-rocket-toml.sh
@ -38,13 +38,15 @@ package:
paths: paths:
- build/ - build/
# Build the updated docker # Upload built docker image to the local registry
build-docker-image: deploy-docker-image:
stage: deploy stage: deploy
image: docker:stable image: docker:stable
only: only:
refs: refs:
- master - master
needs:
- package
dependencies: dependencies:
- package - package
services: services: