API/.gitea/workflows/deploy.yml
Rainnny7 a929a4ee48
All checks were successful
Deploy API / deploy (ubuntu-latest, 2.44.0) (push) Successful in 41s
return the user as well as the session when authenticating
2024-09-18 18:23:18 -04:00

31 lines
639 B
YAML

name: Deploy API
on:
push:
branches: [ "master" ]
paths-ignore:
- README.md
- LICENSE
jobs:
deploy:
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.70.73:22/api"
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}