소스 검색

add: update superdataset action

NiPreps Bot 2 년 전
부모
커밋
50300c864f
1개의 변경된 파일19개의 추가작업 그리고 0개의 파일을 삭제
  1. 19 0
      .github/workflows/update-superdataset.yml

+ 19 - 0
.github/workflows/update-superdataset.yml

@@ -0,0 +1,19 @@
+# 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: [ master ]
+
+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 }}