CI: Update branch for running sync, add manual trigger #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file should be a copy from the templateflow/gha-workflow-superdataset repository | |
# PLEASE DO NOT MODIFY IT MANUALLY | |
# That said, there's no automated way to update the script (i.e., if the source of this file | |
# is modified at the gha-workflow-superdataset repo). | |
name: Sync with G-Node, update Superdataset and export to S3 | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: {} | |
jobs: | |
update_superdataset: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Sync with GIN, update TemplateFlow's superdataset and export to S3" | |
uses: templateflow/actions-template@main | |
env: | |
SECRET_KEY: ${{ secrets.NIPREPS_BOT_SSH_KEY }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |