Bot for Tox messenger
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tox-bot/.drone.yml

33 lines
593 B

---
kind: pipeline
type: ssh
name: Test
server:
host: 11.1.1.21
user: tox
ssh_key:
from_secret: rsa_key
steps:
- name: Show Environment
commands:
- whoami
- pwd
- hostname
- ls
- ls -lta ~/
- name: build
commands:
- cd src/
- gcc -o echo_bot tox_bot.c commands.c misc.c -std=gnu99 -lsodium -I /usr/local/include/ -ltoxcore -lconfig
- mv echo_bot ../
- name: deploy
commands:
- mkdir ~/tox_bot
- cp echo_bot ~/tox_bot
- cp {bot.cfg,masterkeys.txt} ~/tox_bot
- ls -lta ~/
- sleep 15