-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (31 loc) · 887 Bytes
/
page.yaml
File metadata and controls
39 lines (31 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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/checkout@v4.1.7
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v5.2.0
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 "actions@github.com"
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