Skip to content

FN Page Data

FN Page Data #4403

Workflow file for this run

name: FN Page Data
on:
schedule:
- cron: '*/10 * * * *' # Runs every 10 mins
permissions: write-all
jobs:
open_web_browser:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
fetch-depth: 1
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.12'
- name: Install Selenium
run: |
pip install selenium
- name: Run script
run: |
python page.py
- name: Commit and push
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git pull
git add page/timestamp.json page/context_*.json
git commit -m "Update page files"
git push