Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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
nanahira
ygopro-core
Commits
d58d67c0
Commit
d58d67c0
authored
Nov 02, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ci deploy server
parent
ce9b8d1a
Pipeline
#41408
canceled with stages
in 5 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
.gitlab-ci.yml
.gitlab-ci.yml
+28
-0
No files found.
.gitlab-ci.yml
View file @
d58d67c0
...
...
@@ -174,3 +174,31 @@ upload_to_minio:
-
aws s3 --endpoint=https://minio.moenext.com:9000 sync --delete dist/ s3://mycard/libocgcore-koishi
only
:
-
master
.deploy_to_server
:
stage
:
deploy
tags
:
-
linux
dependencies
:
-
build_linux_x64
variables
:
SERVER_USER
:
nanahira
SERVER_HOST
:
koishi.momobako.com
FROM_PATH
:
'
'
SERVER_PATH
:
'
'
script
:
-
apt update && apt -y install openssh-client rsync coreutils
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
ssh-keyscan $SERVER_HOST >> ~/.ssh/known_hosts
-
echo $NANAHIRA_SSH_KEY | base64 --decode > ~/.ssh/id_rsa
-
chmod 600 ~/.ssh/*
-
rsync -4cavzP $FROM_PATH $SERVER_USER@$SERVER_HOST:$SERVER_PATH
deploy_888
:
extends
:
.deploy_to_server
variables
:
FROM_PATH
:
'
dist/x64/libocgcore.so'
SERVER_PATH
:
'
~/ygopro-super-pre/bin/release/'
only
:
-
'
888'
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