Skip to content

Commit

Permalink
datalad push as a separate step
Browse files Browse the repository at this point in the history
  • Loading branch information
hvgazula committed Nov 10, 2023
1 parent 6e440ac commit a095edd
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/aws_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,25 @@ jobs:
python3 -m pip install datalad-installer datalad-osf
datalad-installer --sudo ok git-annex -m datalad/git-annex:release
sudo git config --global filter.annex.process "git-annex filter-process"
- name: configure git credentials
run: |
git config --system user.name "test_aws"
git config --system user.email "test_aws"
# If branchName is empty use issue number, else, use the branchName 🟢
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
- name: datalad get
run: |
datalad siblings
datalad siblings
cd PialNN/pialnn/1.0.0/data
datalad get .
find . -name "*.zip" -exec unzip {} \;
mv example example_aws
datalad save -m "pushing unzipped folder" example_aws/
mv example example_aws1
- name: datalad push
run: |
datalad save -m "pushing new ßunzipped folder" PialNN/pialnn/1.0.0/data/example_aws1
datalad push -f all --to test-aws-storage
datalad push --to origin
env:
Expand Down

0 comments on commit a095edd

Please sign in to comment.