Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
Ygopro Cn Database Generator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
神之吹息
Ygopro Cn Database Generator
Commits
5792eb3c
Commit
5792eb3c
authored
Sep 24, 2024
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add mycard deploy
parent
3558c27c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
1 deletion
+27
-1
.gitlab-ci.yml
.gitlab-ci.yml
+25
-1
ci-scripts/generate.sh
ci-scripts/generate.sh
+2
-0
extras/env408/injects/.gitkeep
extras/env408/injects/.gitkeep
+0
-0
No files found.
.gitlab-ci.yml
View file @
5792eb3c
...
...
@@ -83,5 +83,29 @@ upload_to_minio:
only
:
-
master
deploy_408
:
deploy_
server_env
408
:
extends
:
.deploy_server
.deploy_mycard
:
stage
:
deploy
dependencies
:
-
env408
tags
:
-
linux
variables
:
username
:
$MYCARD_USERNAME
password
:
$MYCARD_PASSWORD
appVersion
:
$CI_COMMIT_REF_NAME
APP_ID
:
ygopro-408
USE_PACK
:
env408-zh-CN
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 "$APP_ID" ../output/$USE_PACK ||
true
-
cd ..
only
:
-
master
deploy_mycard_env408
:
extends
:
.deploy_mycard
ci-scripts/generate.sh
View file @
5792eb3c
...
...
@@ -16,6 +16,8 @@ npm ci
npm run build
npm run
"
$NPM_SCRIPT
"
cp
-rf
./extras/
$FILE_SYMBOL
/injects/
*
"
$OUTPUT_PATH
/"
||
true
cd
"
$OUTPUT_PATH
"
tar
zcvf
"../
$FILE_SYMBOL
-data-
$LOCALE
.tar.gz"
deck expansions
cd
..
extras/env408/injects/.gitkeep
0 → 100644
View file @
5792eb3c
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment