Add deploy config
This commit is contained in:
parent
b9cbc56b94
commit
f171d0b5c3
1 changed files with 20 additions and 0 deletions
20
.github/workflows/deploy.yml
vendored
Normal file
20
.github/workflows/deploy.yml
vendored
Normal 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
|
Loading…
Reference in a new issue