Check Pushes #47
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: Check Push | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run Python | |
run: python main.py | |
--debug True | |
--api_key ${{secrets.API_KEY}} | |
--secret_key ${{secrets.SECRET_KEY}} | |
--yt_key ${{secrets.YT_KEY}} | |
- name: Git Commit Push Action | |
uses: GuillaumeFalourd/[email protected] | |
with: | |
commit_message: "Force the Update" | |
files: config.json nodes/* | |
empty: 1 |