Commit 87c6b944 authored by David Hoksza's avatar David Hoksza

ci

parent 38cc0c92
Pipeline #5523 passed with stages
in 1 minute and 16 seconds
image: node
before_script:
stages:
- build
- deploy
build:
stage: build
script:
- npm install
- npm run build
deploy:
stage: deploy
script:
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- npm install
- npm run build
- echo "mkdir plugins-www/nodup"|sftp -P 8022 gitlab-ci@10.240.6.160
- echo "put dist/plugin.js plugins-www/nodup/"|sftp -P 8022 gitlab-ci@10.240.6.160
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