Skip to content

Commit

Permalink
git deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Dec 19, 2023
1 parent 3eb5e4a commit ea56494
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,16 @@ jobs:
uses: actions/checkout@v3
- name: compute
run: python fire.py
- name: push
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git clone https://huggingface.co/datasets/cboettig/solara-data ~/solara-data
cp *.tif ~/solara-data
cd ~/solara-data
git config user.name github-actions
git config user.email github-actions@github.com
git add *.tif
git commit -a -m "update data" || echo "nothing to commit"
git push https://cboettig:$HF_TOKEN@huggingface.co/spaces/cboettig/solara-test main

0 comments on commit ea56494

Please sign in to comment.