Skip to content

Commit

Permalink
Update figshare.yml
Browse files Browse the repository at this point in the history
As an action retrieve and store the latest release, then upload this to figshare
  • Loading branch information
carlhiggs authored Dec 7, 2023
1 parent 0476ee2 commit 0053e22
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/figshare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Download Latest Release Zip
id: release
uses: creesch/github-latest-release-zip@v0.1.1
with:
owner: global-healthy-liveable-cities
repo: global-indicators
downloadPath: "."
- uses: figshare/github-upload-action@v1.1
with:
FIGSHARE_TOKEN: ${{ secrets.FIGSHARE_TOKEN }}
FIGSHARE_ENDPOINT: 'https://api.figshare.com/v2'
FIGSHARE_ARTICLE_ID: 24760260
DATA_DIR: 'archive/refs/heads/main.zip'
DATA_DIR: "./${{ steps.release.outputs.filename }}"

0 comments on commit 0053e22

Please sign in to comment.