Skip to content

Commit

Permalink
new test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajad Jalilian committed Jan 4, 2024
1 parent 3497b9f commit 02b6655
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/daily_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,18 @@ jobs:
- name: Download Data
run: |
pwd
ls
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: |
cd data
rm jalali_all.min.json
if [ -f jalali_all.min.json ]; then
rm jalali_all.min.json
else
echo "The file does not exist."
fi
mv jalali_all.min-new.json jalali_all.min.json
- name: Setup Pages
Expand Down

0 comments on commit 02b6655

Please sign in to comment.