Skip to content

Area DNS

Area DNS #21677

Workflow file for this run

name: Area DNS
on:
# push:
# branches:
# - main
schedule:
- cron: '*/10 * * * *'
jobs:
update-dns:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Run script
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
run: |
python .github/workflows/area.py