Commit d08415f8 authored by nanahira's avatar nanahira

new part

parent 2b7a4aa4
Pipeline #104 failed with stages
in 12 minutes and 52 seconds
stages:
- test
- deploy
- stage1
- stage2
variables:
GIT_DEPTH: "1"
redtext:
stage: test
stage: stage1
dependencies: []
tags:
- linux
......@@ -25,8 +25,32 @@ redtext:
paths:
- 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:
stage: deploy
stage: stage2
dependencies:
- redtext
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