22 lines
498 B
YAML
22 lines
498 B
YAML
|
|
steps:
|
|
- name: copy_file
|
|
image: appleboy/drone-scp
|
|
settings:
|
|
host: vps.teletype.hu
|
|
username: drop
|
|
password:
|
|
from_secret: droparea_ssh_password
|
|
port: 2223
|
|
source: ./bombexpert.lua
|
|
target: /home/drop/games
|
|
- name: update_catalog
|
|
image: alpine
|
|
environment:
|
|
UPDATE_SECRET:
|
|
from_secret: update_secret_key
|
|
commands:
|
|
- apk add --no-cache curl
|
|
- curl https://games.vps.teletype.hu/update?secret=$UPDATE_SECRET
|
|
|