Add deploy config

This commit is contained in:
Mikołaj Pich 2022-08-27 15:21:08 +02:00
parent b9cbc56b94
commit f171d0b5c3

20
.github/workflows/deploy.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Deploy to fakelog.cf
on:
push:
branches: [ master ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: alex-ac/github-action-ssh-docker-compose@master
name: Docker-Compose Remote Deployment
with:
ssh_host: ${{ secrets.FAKELOG_SSH_HOST }}
ssh_private_key: ${{ secrets.FAKELOG_SSH_PRIVATE_KEY }}
ssh_user: ${{ secrets.FAKELOG_SSH_USER }}
docker_compose_prefix: fakelog.cf