Run Py Script #305
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: Run Py Script | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '00 10 * * 1-5' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: 'pip' # caching pip dependencies | |
- run: pip install -r requirements.txt | |
- name: run py script | |
run: python main.py | |
- name: Update resources | |
uses: test-room-7/[email protected] | |
with: | |
file-path: JSON/*.json | |
commit-msg: Update resources | |
github-token: ${{ secrets.GITHUB_TOKEN }} |