This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
beatsaber-scoretracker/.gitea/workflows/deploy-frontend.yml

27 lines
593 B
YAML
Raw Normal View History

2024-08-01 05:29:39 +00:00
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 }}