Commit d08415f8 authored by nanahira's avatar nanahira

new part

parent 2b7a4aa4
stages: stages:
- test - stage1
- deploy - stage2
variables: variables:
GIT_DEPTH: "1" GIT_DEPTH: "1"
redtext: redtext:
stage: test stage: stage1
dependencies: [] dependencies: []
tags: tags:
- linux - linux
...@@ -25,8 +25,32 @@ redtext: ...@@ -25,8 +25,32 @@ redtext:
paths: paths:
- dist/ - dist/
deploy_to_ygopro_server:
stage: stage1
dependencies: []
tags:
- linux
script:
- apt update && apt -y install openssh-client rsync coreutils
- mkdir ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan 222diy.momobako.com >> ~/.ssh/known_hosts
- echo $NANAHIRA_SSH_KEY | base64 --decode > ~/.ssh/id_rsa
- rsync -avz --exclude=pics --delete ./expansions/ nanahira@222diy.momobako.com:~/ygopro/expansions
only:
- master
#hash:
# stage: stage1
# dependencies: []
# tags:
# - linux
# image: mono
# script:
# -
upload_to_minio: upload_to_minio:
stage: deploy stage: stage2
dependencies: dependencies:
- redtext - redtext
tags: tags:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment