This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user