Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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-520DIY
ygopro
Commits
d89fbc89
Commit
d89fbc89
authored
Jun 13, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add trigger of release helper
parent
15d83fc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
.gitlab-ci.yml
.gitlab-ci.yml
+19
-0
No files found.
.gitlab-ci.yml
View file @
d89fbc89
...
...
@@ -4,6 +4,7 @@ stages:
-
sign
-
pack
-
deploy
-
notify
variables
:
GIT_DEPTH
:
"
1"
...
...
@@ -444,6 +445,24 @@ upload_to_minio:
script
:
-
pip install -U -i https://mirrors.aliyun.com/pypi/simple/ awscli
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync dist/ s3://mycard/mcpro
-
cd dist
-
ls -1 > ../dist-files.txt
-
cd ..
artifacts
:
paths
:
-
dist-files.txt
only
:
-
tags
-
gitlabci
trigger
:
stage
:
notify
dependencies
:
-
upload_to_minio
tags
:
-
linux
script
:
-
apt update; apt -y install curl jq
-
'
curl
-X
POST
https://api.mycard.moe/ygopro/release-helper/release
-H
"Authorization:
$RELEASE_HELPER_TOKEN"
-F
"name=$CI_COMMIT_TAG"
-F
"file=@./dist-files.txt"
|
jq'
only
:
-
tags
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