-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1.16 KB
/
scheduled_script_run.yml
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
40
41
42
# name: Scheduled script run
# on:
# schedule:
# - cron: "0 9 * * *"
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Set Timezone
# uses: szenius/[email protected]
# with:
# timezoneLinux: "Europe/Istanbul"
# - name: Checkout repo content
# uses: actions/checkout@v2 # checkout repo to git runner
# - name: Setup Python Version
# uses: actions/setup-python@v2
# with:
# python-version: 3.8 # install python ver needed
# - name: Install Python dependencies
# uses: py-actions/py-dependency-install@v2
# with:
# path: "requirements.txt"
# - name: Execute Python script
# run: python Ofsted_pipeline/ofsted-childrens-services-inspection-scrape.py
# - name: Commit file
# run: |
# git config --local user.name robjharrison
# git config --local user.email "[email protected]"
# git add --all
# git commit -am "GH ACTION Headlines $(date)"
# git push origin main
# env:
# REPO_KEY: ${{secrets.GITHUB_TOKEN}}
# username: github-actions