Ching L 33424b19cc
All checks were successful
continuous-integration/drone/push Build is passing
chore(ci): remove unused port configuration in drone file
2025-09-08 11:42:28 +08:00

33 lines
811 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: deploy
image: appleboy/drone-ssh
settings:
host:
- 206.237.26.184
username: ching
key:
from_secret: ssh_key
passphrase:
from_secret: ssh_passphrase
command_timeout: 2m
script:
- echo "Deploying dota2-match-calendar"
- cd /root/develop/dota2-match-calendar
- echo "Pulling latest changes"
- git pull --rebase --autostash
- echo "Deployment completed"
- name: discord notification
image: appleboy/drone-discord
settings:
webhook_id:
from_secret: discord_webhook_id
webhook_token:
from_secret: discord_webhook_token
message: "{{truncate commit.message 100}}"
when:
status: [success, failure]