Commit f38a5d8a authored by nanahira's avatar nanahira

finish

parent c7b61fa3
Pipeline #3140 passed with stages
in 36 seconds
......@@ -13,3 +13,33 @@ build:
script:
- npm ci
- npm run build
artifacts:
paths:
- dist/
upload_to_minio:
stage: deploy
dependencies:
- build
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 --delete dist/ s3://nanahira/koishi-plugin/hisoutensoku-jammer
only:
- master
deploy_npm:
stage: deploy
dependencies:
- build
tags:
- linux
image: node:buster-slim
script:
- apt update;apt -y install coreutils
- echo $NPMRC | base64 --decode > ~/.npmrc
- npm publish . || true
only:
- master
\ No newline at end of file
/install-npm.sh
/webpack.config.js
/tsconfig.json
.git*
/output
/dest
......
/install-npm.sh
/webpack.config.js
/tsconfig.json
.git*
/output
/dest
......
/install-npm.sh
/webpack.config.js
/tsconfig.json
.git*
/output
/dest
......
/install-npm.sh
/webpack.config.js
/tsconfig.json
.git*
/output
/dest
......
/install-npm.sh
/webpack.config.js
/tsconfig.json
.git*
/output
/dest
......
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