Commit 5b306418 authored by mercury233's avatar mercury233

Merge branch 'master' of git.mycard.moe:mycard/ygopro-pre-data

parents eea1c927 13d8c285
Pipeline #12148 passed with stages
in 46 seconds
...@@ -55,7 +55,7 @@ server: ...@@ -55,7 +55,7 @@ server:
paths: paths:
- dist - dist
deploy: .deploy:
stage: deploy stage: deploy
dependencies: dependencies:
- pack - pack
...@@ -65,16 +65,29 @@ deploy: ...@@ -65,16 +65,29 @@ deploy:
username: $MYCARD_USERNAME username: $MYCARD_USERNAME
password: $MYCARD_PASSWORD password: $MYCARD_PASSWORD
appVersion: $CI_COMMIT_TAG appVersion: $CI_COMMIT_TAG
only:
- tags
deploy_ygopro:
extends: .deploy
script: script:
- apt update; apt -y install tar zstd curl jq - apt update; apt -y install tar zstd curl jq
- git clone https://code.mycard.moe/mycard/mycard-package-script - git clone https://code.mycard.moe/mycard/mycard-package-script
- cd mycard-package-script - cd mycard-package-script
- ./index.sh makeBuild ygopro-pre ../dist || true - ./index.sh makeBuild ygopro-pre ../dist || true
#- ./index.sh makeBuild ygopro-pre-koishi ../dist || true
- ./index.sh makeBuild ygopro-pre-pro2 ../dist || true
- cd .. - cd ..
only:
- tags deploy_ygopro2:
extends: .deploy
script:
- apt update; apt -y install tar zstd curl jq
- mv field pics/
- mv pics expansions/
- mv script expansions/
- git clone https://code.mycard.moe/mycard/mycard-package-script
- cd mycard-package-script
- ./index.sh makeBuild ygopro-pre-pro2 ../expansions || true
- cd ..
.deploy_to_server: .deploy_to_server:
stage: deploy stage: deploy
......
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