Ping Index TG #5070
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
# .github/workflows/scheduled-builds.yml | |
name: Ping Index TG | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '*/60 * * * *' | |
jobs: | |
build: | |
name: Ping Web | |
runs-on: ubuntu-latest | |
steps: | |
- name: cURL request | |
# Hit the webhook endpoint to rebuild from the "main" branch | |
# run: curl -X POST -d {} url | |
run: | | |
curl -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0" -v https://Tg-Indexer.tuthanika.repl.co | |
- name: Delete workflow runs | |
uses: Mattraks/delete-workflow-runs@v2 | |
with: | |
token: ${{ github.token }} | |
repository: ${{ github.repository }} | |
retain_days: 1 | |
keep_minimum_runs: 0 | |
delete_workflow_pattern: Ping Index TG | |