Commit 13d8c285 authored by nanahira's avatar nanahira

fix deploy

parent 8576ae7f
Pipeline #12127 passed with stages
in 40 seconds
......@@ -55,7 +55,7 @@ server:
paths:
- dist
deploy:
.deploy:
stage: deploy
dependencies:
- pack
......@@ -65,16 +65,29 @@ deploy:
username: $MYCARD_USERNAME
password: $MYCARD_PASSWORD
appVersion: $CI_COMMIT_TAG
only:
- tags
deploy_ygopro:
extends: .deploy
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 || true
#- ./index.sh makeBuild ygopro-pre-koishi ../dist || true
- ./index.sh makeBuild ygopro-pre-pro2 ../dist || true
- 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:
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