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