Skip to content

Commit

Permalink
Update data/* automatically from github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hughjonesd committed May 27, 2024
1 parent 21f592c commit a6b635c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,19 @@ jobs:
env:
AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }}

- name: Upload Unjournal data
- name: Upload Unjournal data as artifact
uses: actions/upload-artifact@v4
with:
name: unjournal-data
path: data


- name: Update data in repository
run: |
git add data/evals.Rdata data/evals.csv data/all_papers_p.Rdata \
data/all_papers_p.csv
git commit -m "Github actions: auto-update data"
git push
- name: Publish dashboard to shinyapps.io
env:
RSCONNECT_USER: ${{ secrets.RSCONNECT_USER }}
Expand Down

0 comments on commit a6b635c

Please sign in to comment.