Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
draftToCode
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Didaktik der Informatik
ovk-informatik
draftToCode
Commits
3ff98a93
Commit
3ff98a93
authored
Dec 17, 2019
by
Thiemo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add auto build
parent
857e41d5
Pipeline
#29932
failed
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
.gitlab-ci.yml
.gitlab-ci.yml
+27
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
3ff98a93
stages
:
-
build
buildGame
:
image
:
node:latest
stage
:
build
script
:
-
PATH="./node_modules/.bin:$PATH"
-
npm install
-
npm build
-
cd build
-
tar -czf tool.tar.gz *
-
mv ./tool.tar.gz ..
artifacts
:
paths
:
-
tool.tar.gz
deployGame
:
image
:
alpine:latest
stage
:
deploy
script
:
-
apk add --no-cache curl
-
curl -v --data-binary @game.tar.gz ${DEPLOY_URL}/${CI_PROJECT_NAME}?token=${DEPLOY_TOKEN} | cat
variables
:
GIT_STRATEGY
:
none
only
:
-
webpack
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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