Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Ai
ygopro-222DIY-cards
Commits
5a1303c2
Commit
5a1303c2
authored
Jun 12, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add update hash calc
parent
73c69897
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
9 deletions
+17
-9
.gitlab-ci.yml
.gitlab-ci.yml
+17
-9
No files found.
.gitlab-ci.yml
View file @
5a1303c2
...
...
@@ -19,6 +19,7 @@ redtext:
-
mkdir dist
-
cd ygopro
-
mv ../expansions .
-
echo "# Result of redtext test of commit $CI_COMMIT_SHA"
-
echo "select id from datas;" | sqlite3 $DATABASE_FILE | xargs -I {} ./ygopro {} 2>&1 | tee ../dist/redtext.txt
-
cd ..
artifacts
:
...
...
@@ -35,20 +36,27 @@ deploy_to_ygopro_server:
-
mkdir ~/.ssh
-
chmod 700 ~/.ssh
-
ssh-keyscan 222diy.momobako.com >> ~/.ssh/known_hosts
-
chmod 600 ~/.ssh/*
-
echo $NANAHIRA_SSH_KEY | base64 --decode > ~/.ssh/id_rsa
-
chmod 600 ~/.ssh/*
-
rsync -4cavz --exclude=pics --delete ./expansions/ nanahira@222diy.momobako.com:~/ygopro/expansions
only
:
-
master
#hash:
# stage: stage1
# dependencies: []
# tags:
# - linux
# image: mono
# script:
# -
hash
:
stage
:
stage1
dependencies
:
[]
tags
:
-
linux
image
:
mono
script
:
-
cd update
-
./update-server.sh
-
cd ..
-
mkdir -p dist/update
-
mv update/*.txt dist/update/
artifacts
:
paths
:
-
dist/
upload_to_minio
:
stage
:
stage2
...
...
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