RESTfulMC/.gitea/workflows/deploy.yml
Rainnny7 f2601f6971
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0) (push) Successful in 58s
Ignore .gitignore file in deploy workflow
2024-04-09 01:20:48 -04:00

34 lines
710 B
YAML

name: Deploy App
on:
push:
branches: ["master"]
paths-ignore:
- .gitignore
- README.md
- LICENSE
- docker-compose.yml
- postman_collection.json
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/restfulmc"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}