mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-06 11:35:29 +00:00
29 lines
629 B
YAML
29 lines
629 B
YAML
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
|