Skip to content

Commit

Permalink
add cron job
Browse files Browse the repository at this point in the history
Signed-off-by: Bhumi <[email protected]>
  • Loading branch information
bhumirao committed Mar 28, 2023
1 parent 5b6a939 commit c9da5b9
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Process Soil Data

on:
push:
branches:
- main
schedule:
- cron: '1 * * * *'
workflow_dispatch:


jobs:
update_soil_data:
Expand Down Expand Up @@ -43,3 +44,8 @@ jobs:
git config --local user.name "GitHub Actions"
cd Data/Soil
dvc add GlobalSoilOrganicCarbonDensityinkgCarbon_m2to1meterdepth.tif
git add Data/Soil/GlobalSoilOrganicCarbonDensityinkgCarbon_m2to1meterdepth.tif.dvc
git add Data/Soil/process.py
git commit -m "Updated dataset on `date` with GitHub Actions"
git push origin task-three
dvc push

0 comments on commit c9da5b9

Please sign in to comment.