Commit 9675832b authored by j.vondoemming's avatar j.vondoemming
Browse files

Update .gitlab-ci.yml

parent 5c790a7f
Pipeline #212462 failed with stages
in 2 minutes and 56 seconds
......@@ -13,7 +13,7 @@ build-renderer:
- apt update && apt install -y build-essential
script:
- make build-renderer
cache:
artifacts:
paths:
- "./renderer-src/renderer"
- "./renderer-src/*.o"
......@@ -22,10 +22,12 @@ build-site:
stage: build:site
needs: ["build-renderer"]
before_script:
- apt update && apt install -y build-essential git
- apt update && apt install -y build-essential git unzip
- curl --location --output artifacts.zip "https://gitlab.example.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/main/download?job=build-renderer&job_token=$CI_JOB_TOKEN"
- unzip artifacts.zip
script:
- make build-site
cache:
artifacts:
paths:
- "./renderer-src/renderer"
- "./build/"
......@@ -34,14 +36,14 @@ pages:
stage: deploy:site
needs: ["build-site"]
before_script:
- apt update && apt install -y build-essential git
- apt update && apt install -y build-essential git unzip
- curl --location --output artifacts.zip "https://gitlab.example.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/main/download?job=build-site&job_token=$CI_JOB_TOKEN"
- unzip artifacts.zip
script:
- make deploy-site
cache:
paths:
- "./build/"
artifacts:
paths:
- public
- "./build/"
- "./public/"
only:
- master
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