Commit b1005141 authored by mercury233's avatar mercury233

test gitlab ci

parent 1b7c55f5
Pipeline #16742 failed with stages
in 14 seconds
stages:
- prepare
- build
- deploy
variables:
GIT_DEPTH: "1"
mat_sqlite:
stage: prepare
tags:
- linux
script:
- apt update
- apt -y install sqlite3
make_db:
stage: build
tags:
- linux
dependencies:
- mat_sqlite
script:
- sqlite3 pack.db < pack.db.sql
artifacts:
paths:
- pack.db
upload:
stage: deploy
dependencies:
- make_db
tags:
- linux
script:
- mkdir dist
- mv pack.db dist/
- aws s3 --endpoint=https://minio.mycard.moe:9000 sync /dist s3://mycard/ygopro-card-list
only:
- master
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