Commit 35c8c2ac authored by lukasburgey's avatar lukasburgey
Browse files

Add deploy to prod to ci

parent 5e2bca0d
Pipeline #88043 passed with stages
in 1 minute and 59 seconds
......@@ -21,10 +21,8 @@ build:
paths:
- feudalClient
# this needs a volume mounted to the docker runner like so:
# volumes = ["/path/to/binaries:/deployDestination:rw"]
deploy-dev:
stage: deploy
only:
......@@ -33,6 +31,21 @@ deploy-dev:
name: dev
dependencies:
- build
script:
- mkdir -p /deployDestination/dev
- cp feudalClient /deployDestination/dev
- date -Iseconds > /deployDestination/dev/lastCIDeploy
# this needs a volume mounted to the docker runner like so:
# volumes = ["/path/to/binaries:/deployDestination:rw"]
deploy-master:
stage: deploy
only:
- master
environment:
name: master
dependencies:
- build
script:
- cp feudalClient /deployDestination
- date -Iseconds > /deployDestination/lastCIDeploy
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment