Skip to content

Create hosts files for Exodus Privacy API data #206

Create hosts files for Exodus Privacy API data

Create hosts files for Exodus Privacy API data #206

Workflow file for this run

name: Create hosts files for Exodus Privacy API data
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
defaults:
run:
working-directory: ./exodus
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Create dist directory
run: |
mkdir -p dist
- name: Create hosts file
run: |
python exodus.py -i https://reports.exodus-privacy.eu.org/api/trackers -o dist/hosts
- name: Create IPv4 hosts file
run: |
python exodus-ipv4.py -i https://reports.exodus-privacy.eu.org/api/trackers -o dist/hosts-ipv4
- name: Commit changes
uses: EndBug/add-and-commit@v5.3.0
with:
author_name: Marcus Husar
author_email: marcus.husar@gmail.com
message: 'Update hosts files from Exodus Privacy API data.'
add: 'exodus/dist'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}