Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajad Jalilian committed Jan 4, 2024
1 parent b68e0d6 commit 723a40f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/daily_update.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Daily Data Update

on:
schedule:
# - cron: "0 1 * * *"
- cron: "* * * * *"
# schedule:
# # - cron: "0 1 * * *"
# - cron: "* * * * *"
push:
branches: main

jobs:
download:
Expand All @@ -15,9 +17,11 @@ jobs:

- name: Download file
run: |
pwd
curl -o data/jalali_all.min-new.json https://github.com/SamadiPour/rial-exchange-rates-archive/releases/latest/download/jalali_all.min.json
- name: Replace existing file
run: |
rm data/jalali_all.min.json
mv data/jalali_all.min-new.json data/jalali_all.min.json
cd data
rm jalali_all.min.json
mv jalali_all.min-new.json jalali_all.min.json

0 comments on commit 723a40f

Please sign in to comment.