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