add deploy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
stryan 2023-08-07 21:47:18 -04:00
parent d6dfb06872
commit 78f18e6a9d

View File

@ -18,3 +18,17 @@ steps:
tags: latest
secrets_from_env:
- pack_config=CONFIG_JSON
- name: deploy
image: appleboy/drone-ssh
settings:
host: stryan.net
username:
from_secret: deploy_username
key:
from_secret: deploy_key
script:
- sudo podman pull git.saintnet.tech/stryan/saintnet_stickers:latest
- sudo systemctl restart stryan_net
when:
branch:
- master