mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-06 19:45:24 +00:00
Restore ...
This commit is contained in:
parent
b24d7ba8b6
commit
673f53d97a
28
.github/workflows/schedule-script.yml
vendored
28
.github/workflows/schedule-script.yml
vendored
@ -1,28 +0,0 @@
|
|||||||
name: Run Script Every 6 Hours
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 */6 * * *" # Esegui ogni 6 ore
|
|
||||||
workflow_dispatch: # Aggiungi questo trigger manuale
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-script:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v4
|
|
||||||
with:
|
|
||||||
python-version: "3.10"
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install -r requirements.txt
|
|
||||||
|
|
||||||
- name: Execute the script
|
|
||||||
run: |
|
|
||||||
python Test/call_updateDomain.py
|
|
@ -56,7 +56,7 @@
|
|||||||
},
|
},
|
||||||
"SITE": {
|
"SITE": {
|
||||||
"streamingcommunity": {
|
"streamingcommunity": {
|
||||||
"domain": "asd"
|
"domain": "prof"
|
||||||
},
|
},
|
||||||
"altadefinizione": {
|
"altadefinizione": {
|
||||||
"domain": "deal"
|
"domain": "deal"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user