My Telegram is Herocore #35007
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |