Commit cda9dcde authored by Chunchi Che's avatar Chunchi Che

Merge branch 'fix/super-pre-release' into 'main'

超先行服卡片列表更新自动化

See merge request mycard/Neos!353
parents d1ca920d 66014856
...@@ -62,6 +62,7 @@ ts_check_lint: ...@@ -62,6 +62,7 @@ ts_check_lint:
tags: tags:
- linux - linux
script: script:
- sh sync_super_prerelease.sh
- npx tsc - npx tsc
- npm run lint - npm run lint
...@@ -73,6 +74,7 @@ npm_build: ...@@ -73,6 +74,7 @@ npm_build:
tags: tags:
- linux - linux
script: script:
- sh sync_super_prerelease.sh
- cp neos.config.prod.json neos.config.json - cp neos.config.prod.json neos.config.json
- npm run build:prod - npm run build:prod
artifacts: artifacts:
......
#!/bin/bash
# 更新超先行服卡片列表
curl --proto '=https' --tlsv1.2 -sS https://cdn02.moecube.com:444/ygopro-super-pre/data/test-release-v2.json | jq '[.[].id]' > super-pre-release.json
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