Commit 7b6f0bc9 authored by Chunchi Che's avatar Chunchi Che

fix gitlab-ci

parent 734b1b32
...@@ -49,8 +49,9 @@ deploy: ...@@ -49,8 +49,9 @@ deploy:
stage: deploy stage: deploy
tags: tags:
- linux - linux
extends: npm_build
script: script:
- sudo apt-get install rsync - sudo apt-get install rsync
- rsync -av -e 'ssh -p 22' dist/ 'kirayamato@8.142.104.5:${NEOS_DEPLOY_PATH}' - rsync -av -e 'ssh -p -i $NEOS_SSH_PRIVATE_KEY' dist/ 'kirayamato@8.142.104.5:${NEOS_DEPLOY_PATH}'
- rsync -av -e 'ssh -p 22' assets/ 'kirayamato@8.142.104.5:${NEOS_DEPLOY_PATH}/assets' - rsync -av -e 'ssh -p -i $NEOS_SSH_PRIVATE_KEY' assets/ 'kirayamato@8.142.104.5:${NEOS_DEPLOY_PATH}/assets'
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