This commit is contained in:
19
.gitea/workflows/deploy.yml
Normal file
19
.gitea/workflows/deploy.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Deploy Brookhaven
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Deploy to server
|
||||
run: |
|
||||
cd /var/www/brookhaven.bennyshouse.net
|
||||
git pull
|
||||
sudo systemctl restart brookhaven.service
|
||||
Reference in New Issue
Block a user