Daily Commit #51
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: Daily Commit | |
on: | |
schedule: | |
- cron: '0 5 * * *' | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install DateTime | |
- name: Run Python Script | |
run: | | |
python main.py | |
- name: Git config | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "greeenboi" | |
- name: Pulling Changes | |
run : | | |
git pull origin | |
- name: Fetch Changes | |
run : | | |
git fetch origin | |
- name: Commit Changes | |
run: | | |
git commit -am "Daily Commit bois" | |
- name: Push Changes | |
run: | | |
git push origin | |