22 lines
415 B
YAML
22 lines
415 B
YAML
name: "Deploy SSR"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Cloning repo
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Push to dokku
|
|
uses: dokku/github-action@master
|
|
with:
|
|
git_remote_url: "ssh://dokku@10.0.50.65:22/ssr"
|
|
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|