2023-10-19 14:17:55 +01:00
|
|
|
name: "deploy"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
|
|
- name: Cloning repo
|
2023-10-19 15:06:16 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-10-19 14:17:55 +01:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Push to dokku
|
|
|
|
uses: dokku/github-action@master
|
|
|
|
with:
|
|
|
|
git_remote_url: "ssh://dokku@10.0.3.39:22/scoresaber-reloadedv2"
|
|
|
|
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|