Skip to content

Commit

Permalink
Upload example after tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-luke authored Jun 19, 2021
1 parent 514efc3 commit f9ee625
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,24 @@ jobs:

- name: Push image to github
run: docker push ghcr.io/rob-luke/fnirs-apps-quality-reports/app:latest

- name: Download test data
shell: bash -el {0}
run: |
curl -L https://github.com/rob-luke/BIDS-NIRS-Tapping/archive/00-Raw-data.zip --output data.zip
pwd
unzip data.zip -d ~/example_data
ls
- name: Build docker image
run: docker build --progress=plain -t test .

- name: Run docker image
run: docker run -v /home/runner/example_data/BIDS-NIRS-Tapping-00-Raw-data/:/bids_dataset test --threshold 0.6

- uses: stefanzweifel/git-auto-commit-action@v4
name: Release new example file
with:
commit_message: New release
branch: gh-pages
file_pattern: /home/runner/example_data/BIDS-NIRS-Tapping-00-Raw-data/derivatives/fnirs-apps-quality-reports/report_basic_04.html

0 comments on commit f9ee625

Please sign in to comment.