www/.gitea/workflows/deploy.yml

33 lines
670 B
YAML
Raw Normal View History

2024-09-13 18:20:05 -07:00
name: Deploy Site
on:
push:
branches: [ "master" ]
paths-ignore:
- README.md
- LICENSE
- docker-compose.yml
jobs:
docker:
strategy:
matrix:
arch: [ "ubuntu-latest" ]
git-version: [ "2.44.0" ]
runs-on: ${{ matrix.arch }}
# Steps to run
steps:
# Checkout the repo
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# Deploy to Dokku
- name: Deploy to Dokku
uses: dokku/github-action@master
with:
git_remote_url: "ssh://dokku@10.10.3.28:22/rainnny-club"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}