diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 9300d4c..d762523 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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