Commit 64df8b3e authored by nanahira's avatar nanahira

ci

parent 301f9b72
......@@ -10,5 +10,4 @@ note.md
plan.org
database.sql
release
package-lock.json
Answaer.js
\ No newline at end of file
Answaer.js
stages:
- build
- deploy
variables:
GIT_DEPTH: "1"
build:
stage: build
dependencies: []
tags:
- linux
script:
- npm ci
- npm run build
artifacts:
paths:
- dist/
upload_to_minio:
stage: deploy
dependencies:
- build
tags:
- linux
script:
- aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete dist/ s3://mycard/ygopro
only:
- master
This diff is collapsed.
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