add workflow

This commit is contained in:
Carneiro 2024-11-24 19:19:33 -03:00
parent 4d46e7fef2
commit 3312a19ffd
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
name: Deploy
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v2
- name: Deploy
uses: kitconcept/docker-stack-deploy@v1.0.1
with:
remote_host: ${{ secrets.SSH_HOST }}
remote_user: ${{ secrets.SSH_USER }}
remote_private_key: ${{ secrets.SSH_PRIV_KEY }}
stack_file: "docker-compose.yml"
stack_name: "filestash"