Commit 7f26e5f1 authored by nanahira's avatar nanahira

tag only

parent eef49688
...@@ -60,14 +60,14 @@ upload_archive: ...@@ -60,14 +60,14 @@ upload_archive:
variables: variables:
uploadDir: archive uploadDir: archive
only: only:
- master - tags
upload_data: upload_data:
extends: .minio extends: .minio
variables: variables:
uploadDir: data uploadDir: data
only: only:
- master - tags
deploy: deploy:
stage: deploy stage: deploy
...@@ -78,7 +78,7 @@ deploy: ...@@ -78,7 +78,7 @@ deploy:
variables: variables:
username: $MYCARD_USERNAME username: $MYCARD_USERNAME
password: $MYCARD_PASSWORD password: $MYCARD_PASSWORD
appVersion: $CI_COMMIT_SHORT_SHA appVersion: $CI_COMMIT_REF_NAME
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
...@@ -87,7 +87,8 @@ deploy: ...@@ -87,7 +87,8 @@ deploy:
- ./index.sh makeBuild ygopro2-super-pre ../data || true - ./index.sh makeBuild ygopro2-super-pre ../data || true
- cd .. - cd ..
only: only:
- master # - master
- tags
.deploy_to_server: .deploy_to_server:
stage: deploy stage: deploy
...@@ -105,6 +106,7 @@ deploy: ...@@ -105,6 +106,7 @@ deploy:
- rsync -4cavzP --exclude=pics --delete ./server-dist/ $SERVER_USER@$SERVER_HOST:~/ygopro-super-pre/expansions - rsync -4cavzP --exclude=pics --delete ./server-dist/ $SERVER_USER@$SERVER_HOST:~/ygopro-super-pre/expansions
only: only:
- master - master
- tags
deploy_to_tiramisu: deploy_to_tiramisu:
extends: .deploy_to_server extends: .deploy_to_server
......
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