ern ws 3, 4 #60
This file contains 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: 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 |