Commit 3ff98a93 authored by Thiemo's avatar Thiemo

add auto build

parent 857e41d5
Pipeline #29932 failed
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
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