Spaces:
Running
Running
File size: 378 Bytes
1a098dc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
name: Sync to HF Space
on:
push:
branches:
- main
jobs:
trigger_curl:
runs-on: ubuntu-latest
steps:
- name: Send cURL POST request
run: |
curl -X POST https://mrfakename-sync-f5.hf.space/gradio_api/call/refresh \
-s \
-H "Content-Type: application/json" \
-d "{\"data\": [\"${{ secrets.REFRESH_PASSWORD }}\"]}"
|