Commit 9043b52d authored by nanahira's avatar nanahira

ci

parent 423d0090
Pipeline #4962 passed with stage
in 49 seconds
stages:
- pack
- deploy
variables:
GIT_DEPTH: "1"
pack:
stage: pack
tags:
- linux
script:
- mv field pics/
- mv pics expansions/
- mv script expansions/
- mkdir dist
- cd expansions
- 7z a -mx9 ../dist/ygopro-pre.ypk
artifacts:
paths:
- dist
deploy:
stage: deploy
dependencies:
- pack
tags:
- linux
variables:
username: $MYCARD_USERNAME
password: $MYCARD_PASSWORD
appVersion: $CI_COMMIT_TAG
script:
- apt update; apt -y install tar zstd curl jq
- git clone https://code.mycard.moe/mycard/mycard-package-script
- cd mycard-package-script
- ./index.sh makeBuild ygopro-pre ../dist
- cd ..
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