Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev committed Mar 24, 2023
1 parent ace9c08 commit b255993
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/data.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Commit Changes
name: Update Downloads Data

on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight UTC
workflow_dispatch:

jobs:
commit_changes:
downloads_data:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: website # Use the website branch instead of master
ref: update # Use the update branch instead of master

- name: Set up Python
uses: actions/setup-python@v2
Expand All @@ -36,4 +36,4 @@ jobs:
run: |
git add .
git diff-index --quiet HEAD || git commit -m "Update Downloads data"
git push origin website
git push origin update

0 comments on commit b255993

Please sign in to comment.