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

44 lines
797 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
2 years ago
- ls -lta ~/
2 years ago
- name: ssh
2 years ago
image: appleboy/drone-ssh
2 years ago
settings:
host:
2 years ago
- 11.1.1.21
2 years ago
username: tox
key:
from_secret: rsa_key
port: 22
command_timeout: 2m
script:
2 years ago
- echo "Hello World"
- mkdir ~/test
2 years ago
- 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
- mkdir ~/tox_bot
- cp echo_bot ~/tox_bot
2 years ago
- cp ../{bot.cfg,masterkeys.txt} ~/tox_bot
2 years ago
- ls -lta ~/
2 years ago
- sleep 15