Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AStA
DigiRef
Spieleseite
Commits
9675832b
Commit
9675832b
authored
Jul 14, 2021
by
Jake
Browse files
Update .gitlab-ci.yml
parent
5c790a7f
Pipeline
#212462
failed with stages
in 2 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9675832b
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment