Преглед на файлове

fix: add sibling config which can be used for pushing changes

Mika Pflüger преди 6 месеца
родител
ревизия
18090bbc92
променени са 1 файла, в които са добавени 6 реда и са изтрити 1 реда
  1. 6 1
      .github/workflows/download.yaml

+ 6 - 1
.github/workflows/download.yaml

@@ -32,6 +32,11 @@ jobs:
         run: git config --global user.name "Mika Pflüger (via github actions)"
       - name: clone repo
         run: datalad clone https://github.com/mikapfl/unfccc_di_data.git
+      - name: configure push access to gin.hemio.de
+        run: |
+          datalad -C unfccc_di_data/ siblings add -s ginhemio --url https://gin.hemio.de/CR/unfcc_di_data --pushurl git@gin.hemio.de/CR/unfcc_di_data
+          cd unfccc_di_data/
+          git config remote.ginhemio.annex-ignore false
       - name: setup Python
         uses: actions/setup-python@v5
         with:
@@ -41,4 +46,4 @@ jobs:
       - name: download data
         run: datalad -C unfccc_di_data/ rerun download
       - name: publish newly downloaded data
-        run: datalad -C unfccc_di_data/ push --to ginhemio-storage --data anything
+        run: datalad -C unfccc_di_data/ push --to ginhemio --data anything