mirror of
https://gitlab.com/octospacc/octospacc.gitlab.io
synced 2024-12-22 22:28:00 +01:00
25 lines
440 B
YAML
25 lines
440 B
YAML
image: alpine:latest
|
|
|
|
before_script: |
|
|
apk update
|
|
apk add git nodejs npm
|
|
|
|
pages:
|
|
stage: deploy
|
|
script: |
|
|
for App in WuppiMini
|
|
do
|
|
mkdir ./public/${App}
|
|
cd ./src/${App}
|
|
npm update
|
|
npm install
|
|
node ./index.js html
|
|
cp ./index.js ./index.html ./node_modules/SpaccDotWeb/SpaccDotWeb.Server.js ../../public/${App}/
|
|
cd ../..
|
|
done
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
only:
|
|
- master
|