This commit is contained in:
@@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -27,13 +28,12 @@ jobs:
|
|||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
python -m pip install --upgrade pip
|
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
|
- name: Deploy DNS entries to AdGuard Home
|
||||||
run: |
|
run: |
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
python adguard-dns-tools/main.py --sync
|
python main.py --sync
|
||||||
working-directory: ${{ github.workspace }}
|
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
ADGUARD_USER: ${{ env.ADGUARD_USER }}
|
ADGUARD_USER: ${{ env.ADGUARD_USER }}
|
||||||
|
|||||||
Reference in New Issue
Block a user