Skip to content

Commit

Permalink
Update updated_earthengine_api.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ambarja authored Jul 4, 2024
1 parent e2636d7 commit 3bc3f76
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/updated_earthengine_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ on:
branches:
- master
schedule:
- cron: '0 * * * *'
- cron: '0 * * * *'

jobs:
build:
runs-on: ubuntu-latest
steps:

- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content to github runner

Expand All @@ -24,15 +23,20 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install earthengine-api
- name: dataset upgrade
run: |
python3 ./.github/ee_up.py
python3 .github/ee_up.py
- name: delete old dataset.json
run: |
rm -f inst/dataset.json
- name: file_check
run: ls -l -a
run: |
ls -l -a
ls -l -a inst
- name: commit files
continue-on-error: true
run: |
Expand All @@ -41,6 +45,7 @@ jobs:
git config --local user.name "GitHub Action"
git add -A
git commit -m "updated earthengine version ${today}" -a
- name: push changes
continue-on-error: true
uses: ad-m/[email protected]
Expand Down

0 comments on commit 3bc3f76

Please sign in to comment.