Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-database
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
Su-Yeong Jeong
ygopro-database
Commits
7fa45afb
Commit
7fa45afb
authored
May 08, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ci
parent
b509c203
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
+57
-0
.gitlab-ci.yml
.gitlab-ci.yml
+57
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
7fa45afb
stages
:
-
build
-
deploy
variables
:
GIT_DEPTH
:
"
1"
get_lflist
:
stage
:
build
script
:
-
apt update;apt -y install wget
-
wget -O lflist.conf https://github.com/mycard/ygopro/raw/server/lflist.conf
-
ls locales | xargs -I {} cp ./lflist.conf ./locales/{}/
-
cp -rf locales dist
artifacts
:
paths
:
-
dist/
tags
:
-
linux
upload_to_minio_latest
:
stage
:
deploy
dependencies
:
-
get_lflist
tags
:
-
linux
image
:
python
script
:
-
pip install -U awscli
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete dist/ s3://mycard/ygopro-database
only
:
-
master
upload_to_minio_oversea
:
stage
:
deploy
dependencies
:
-
get_lflist
tags
:
-
linux
image
:
python
script
:
-
pip install -U awscli
-
aws s3 --endpoint=https://water.mycard.moe:9777 sync --delete dist/ s3://mycard/ygopro-database
only
:
-
master
upload_to_minio_rainbow
:
stage
:
deploy
dependencies
:
-
get_lflist
tags
:
-
linux
image
:
python
script
:
-
pip install -U awscli
-
aws s3 --endpoint=https://rainbow-minio.moestart.com:9777 sync --delete dist/ s3://mycard/ygopro-database
only
:
-
master
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