add deploy

This commit is contained in:
stryan 2023-08-07 21:47:18 -04:00 committed by stryan
parent e13286b8ec
commit d54b083dff

View File

@ -18,3 +18,17 @@ steps:
tags: latest tags: latest
secrets_from_env: secrets_from_env:
- pack_config=CONFIG_JSON - 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