Commit 297e2cff authored by 神楽坂玲奈's avatar 神楽坂玲奈

ci

parent 11343677
......@@ -3,6 +3,7 @@ variables:
stages:
- build
- deploy
windows:
stage: build
......@@ -14,6 +15,9 @@ windows:
- npm ci
- npm run build
- dir dist
artifacts:
paths:
- dist/ci-*
linux:
image: node:latest
stage: build
......@@ -23,6 +27,9 @@ linux:
- npm ci
- npm run build
- ls dist
artifacts:
paths:
- dist/ci-*
macOS:
stage: build
tags:
......@@ -32,3 +39,17 @@ macOS:
- npm ci
- npm run build
- ls dist
artifacts:
paths:
- dist/ci-*
upload_to_minio:
stage: deploy
tags:
- linux
image: python
script:
- pip install -U -i https://mirrors.aliyun.com/pypi/simple/ awscli
- aws s3 --endpoint=https://minio.mycard.moe:9000 sync dist/ s3://mycard/mycard-ci-test
only:
- tags
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