This commit is contained in:
26
.gitea/workflows/deploy-frontend.yml
Normal file
26
.gitea/workflows/deploy-frontend.yml
Normal file
@ -0,0 +1,26 @@
|
||||
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 }}
|
Reference in New Issue
Block a user