27 lines
593 B
YAML
27 lines
593 B
YAML
name: Deploy Frontend
|
|
|
|
on:
|
|
push:
|
|
branches: ["master"]
|
|
paths: [".gitea/workflows/deploy-frontend.yml", "Frontend/**"]
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: "./Frontend"
|
|
|
|
# Steps to run
|
|
steps:
|
|
# Checkout the repo
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
# Deploy to Dokku
|
|
- name: Deploy to Dokku
|
|
uses: dokku/github-action@master
|
|
with:
|
|
git_remote_url: "ssh://dokku@10.0.50.136:22/bs-tracker-frontend"
|
|
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|