Files
warframe-center/.drone.yml
Anatoly 2c4cd8ca5d
Some checks failed
continuous-integration/drone/push Build is failing
Docker deploy yml
2022-03-18 22:24:25 +03:00

26 lines
544 B
YAML

kind: pipeline
type: docker
name: default
clone:
disable: true
steps:
- name: bulid
image: node:16
environment:
SSH_PRIVATE_KEY:
from_secret: ssh_private_key
commands:
- git clone -b monorepo https://git.radner.ru/anatolykopyl/warframe-center.git
- cd warframe-center/app
- npm install
- npm run build
- mkdir ~/.ssh
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- chmod 400 ~/.ssh/id_rsa
- scp -o StrictHostKeyChecking=no -r .next pi@192.168.1.54:/home/pi/warframe-center/app
when:
branch:
- monorepo