diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index 1ce1cbc..8dfdab0 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -4,6 +4,7 @@ on: push: branches: - main + jobs: deploy: runs-on: ubuntu-latest @@ -27,13 +28,12 @@ jobs: python3 -m venv venv source venv/bin/activate python -m pip install --upgrade pip - pip install -r adguard-dns-tools/requirements.txt + pip install -r requirements.txt - name: Deploy DNS entries to AdGuard Home run: | source venv/bin/activate - python adguard-dns-tools/main.py --sync - working-directory: ${{ github.workspace }} + python main.py --sync shell: bash env: ADGUARD_USER: ${{ env.ADGUARD_USER }} @@ -46,4 +46,4 @@ jobs: - name: Deployment Result if: success() - run: echo "✅ DNS entries deployed successfully to AdGuard Home." \ No newline at end of file + run: echo "✅ DNS entries deployed successfully to AdGuard Home."