Skip to content

My Telegram is Herocore #1621

My Telegram is Herocore

My Telegram is Herocore #1621

Workflow file for this run

name: My Telegram is Herocore
on:
# push:
# branches:
# - main
schedule:
- cron: '*/10 * * * *'
jobs:
update_dns:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- 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: My Telegram is Herocore
run: |
python .github/workflows/onecf.py
env:
DOMAINS: ${{ secrets.DOMAINS }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}