Added Deploy.yml
Some checks failed
Deploy ThorsHammerNew / deploy (push) Failing after 1s

This commit is contained in:
Ben Mosley
2026-04-25 13:09:33 -05:00
parent 21921ebe0b
commit 3ae1cc24af

View File

@@ -1,5 +1,3 @@
# .gitea/workflows/deploy.yml
name: Deploy ThorsHammerNew
on:
@@ -16,8 +14,7 @@ jobs:
- name: Install dependencies
run: |
cd ${{ github.workspace }}
pip install -r requirements.txt
/var/www/thorshammernew/env/bin/pip install -r ${{ github.workspace }}/requirements.txt
- name: Copy files to app directory
run: |
@@ -27,6 +24,7 @@ jobs:
--exclude '*.db' \
--exclude '.env' \
--exclude 'ga_key.json' \
--exclude 'venv' \
${{ github.workspace }}/ /var/www/thorshammernew/
- name: Restart app service