Test URL Script #5
This file contains hidden or 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
| name: Test URL Script | |
| on: | |
| workflow_dispatch: # Manual trigger only | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'sites-workflow/1getSitesURL.py' | |
| jobs: | |
| test-script: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Run URL extraction script | |
| run: | | |
| cd sites-workflow | |
| python 1getSitesURL.py | |