Skip to content

Commit

Permalink
Create actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nygosaki authored Nov 30, 2023
1 parent 4a6b0a2 commit 8b77e6f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Weekly Databse Update

on:
schedule:
- cron: "0 22 * * 5" # Every Friday at 10 PM UTC

jobs:
run_script:
name: Run Python Script
runs-on: windows-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8 # Specify your desired Python version

- name: Run Python Script
run: python main.py # Adjust this command if needed

- name: Commit and Push Changes
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add -A
git commit -m "Weekly update - $(date -u)"
git push

0 comments on commit 8b77e6f

Please sign in to comment.