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