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

ci

parent 11343677
...@@ -3,6 +3,7 @@ variables: ...@@ -3,6 +3,7 @@ variables:
stages: stages:
- build - build
- deploy
windows: windows:
stage: build stage: build
...@@ -14,6 +15,9 @@ windows: ...@@ -14,6 +15,9 @@ windows:
- npm ci - npm ci
- npm run build - npm run build
- dir dist - dir dist
artifacts:
paths:
- dist/ci-*
linux: linux:
image: node:latest image: node:latest
stage: build stage: build
...@@ -23,6 +27,9 @@ linux: ...@@ -23,6 +27,9 @@ linux:
- npm ci - npm ci
- npm run build - npm run build
- ls dist - ls dist
artifacts:
paths:
- dist/ci-*
macOS: macOS:
stage: build stage: build
tags: tags:
...@@ -32,3 +39,17 @@ macOS: ...@@ -32,3 +39,17 @@ macOS:
- npm ci - npm ci
- npm run build - npm run build
- ls dist - 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