From 925a0402652db58fdf4c2ae3de3b86aa46c80b41 Mon Sep 17 00:00:00 2001 From: Marco Pernpruner Date: Thu, 26 Sep 2024 11:10:56 +0200 Subject: [PATCH] Test workaround to fix actions issues --- .github/workflows/update-destinations-cs.yml | 17 +++++++++++++++++ .github/workflows/update-members-cs.yml | 17 +++++++++++++++++ .github/workflows/update-people-cs.yml | 17 +++++++++++++++++ .github/workflows/update-people-pictures-cs.yml | 17 +++++++++++++++++ .github/workflows/update-publications-cs.yml | 17 +++++++++++++++++ .github/workflows/update-theses-cs.yml | 17 +++++++++++++++++ 6 files changed, 102 insertions(+) diff --git a/.github/workflows/update-destinations-cs.yml b/.github/workflows/update-destinations-cs.yml index bc85e59c..624bdb6c 100644 --- a/.github/workflows/update-destinations-cs.yml +++ b/.github/workflows/update-destinations-cs.yml @@ -24,4 +24,21 @@ jobs: user_name: 'csfbk' user_email: 'cs@fbk.eu' + - name: Re-checkout on failure + if: ${{ failure() }} + uses: actions/checkout@v2 + + - name: Re-push on failure + if: ${{ failure() }} + uses: dmnemec/copy_file_to_another_repo_action@main + env: + API_TOKEN_GITHUB: ${{ secrets.CS_SYNC_TOKEN }} + with: + source_file: '_data/destinations.yml' + destination_repo: 'csfbk/csfbk.github.io' + destination_folder: '_data/destinations' + rename: 'destinations_st.yml' + user_name: 'csfbk' + user_email: 'cs@fbk.eu' + - run: echo "Operation completed." diff --git a/.github/workflows/update-members-cs.yml b/.github/workflows/update-members-cs.yml index b59c9123..8ebca065 100644 --- a/.github/workflows/update-members-cs.yml +++ b/.github/workflows/update-members-cs.yml @@ -24,4 +24,21 @@ jobs: user_name: 'csfbk' user_email: 'cs@fbk.eu' + - name: Re-checkout on failure + if: ${{ failure() }} + uses: actions/checkout@v2 + + - name: Re-push on failure + if: ${{ failure() }} + uses: dmnemec/copy_file_to_another_repo_action@main + env: + API_TOKEN_GITHUB: ${{ secrets.CS_SYNC_TOKEN }} + with: + source_file: '_data/members.yml' + destination_repo: 'csfbk/csfbk.github.io' + destination_folder: '_data/members' + rename: 'members_st.yml' + user_name: 'csfbk' + user_email: 'cs@fbk.eu' + - run: echo "Operation completed." diff --git a/.github/workflows/update-people-cs.yml b/.github/workflows/update-people-cs.yml index c34da8e4..5a97f4f6 100644 --- a/.github/workflows/update-people-cs.yml +++ b/.github/workflows/update-people-cs.yml @@ -24,4 +24,21 @@ jobs: user_name: 'csfbk' user_email: 'cs@fbk.eu' + - name: Re-checkout on failure + if: ${{ failure() }} + uses: actions/checkout@v2 + + - name: Re-push on failure + if: ${{ failure() }} + uses: dmnemec/copy_file_to_another_repo_action@main + env: + API_TOKEN_GITHUB: ${{ secrets.CS_SYNC_TOKEN }} + with: + source_file: '_data/people.yml' + destination_repo: 'csfbk/csfbk.github.io' + destination_folder: '_data/people' + rename: '1_people_st.yml' + user_name: 'csfbk' + user_email: 'cs@fbk.eu' + - run: echo "Operation completed." diff --git a/.github/workflows/update-people-pictures-cs.yml b/.github/workflows/update-people-pictures-cs.yml index c292d226..7fece914 100644 --- a/.github/workflows/update-people-pictures-cs.yml +++ b/.github/workflows/update-people-pictures-cs.yml @@ -24,4 +24,21 @@ jobs: user_email: 'cs@fbk.eu' use_rsync: true + - name: Re-checkout on failure + if: ${{ failure() }} + uses: actions/checkout@v2 + + - name: Re-push on failure + if: ${{ failure() }} + uses: dmnemec/copy_file_to_another_repo_action@main + env: + API_TOKEN_GITHUB: ${{ secrets.CS_SYNC_TOKEN }} + with: + source_file: 'assets/areas/people/' + destination_repo: 'csfbk/csfbk.github.io' + destination_folder: 'assets/areas/people/st' + user_name: 'csfbk' + user_email: 'cs@fbk.eu' + use_rsync: true + - run: echo "Operation completed." diff --git a/.github/workflows/update-publications-cs.yml b/.github/workflows/update-publications-cs.yml index e12ea88f..761c092f 100644 --- a/.github/workflows/update-publications-cs.yml +++ b/.github/workflows/update-publications-cs.yml @@ -24,4 +24,21 @@ jobs: user_name: 'csfbk' user_email: 'cs@fbk.eu' + - name: Re-checkout on failure + if: ${{ failure() }} + uses: actions/checkout@v2 + + - name: Re-push on failure + if: ${{ failure() }} + uses: dmnemec/copy_file_to_another_repo_action@main + env: + API_TOKEN_GITHUB: ${{ secrets.CS_SYNC_TOKEN }} + with: + source_file: '_data/publications.yml' + destination_repo: 'csfbk/csfbk.github.io' + destination_folder: '_data/publications' + rename: 'publications_st.yml' + user_name: 'csfbk' + user_email: 'cs@fbk.eu' + - run: echo "Operation completed." diff --git a/.github/workflows/update-theses-cs.yml b/.github/workflows/update-theses-cs.yml index 55c3f226..e18e72ce 100644 --- a/.github/workflows/update-theses-cs.yml +++ b/.github/workflows/update-theses-cs.yml @@ -24,4 +24,21 @@ jobs: user_name: 'csfbk' user_email: 'cs@fbk.eu' + - name: Re-checkout on failure + if: ${{ failure() }} + uses: actions/checkout@v2 + + - name: Re-push on failure + if: ${{ failure() }} + uses: dmnemec/copy_file_to_another_repo_action@main + env: + API_TOKEN_GITHUB: ${{ secrets.CS_SYNC_TOKEN }} + with: + source_file: '_data/theses.yml' + destination_repo: 'csfbk/csfbk.github.io' + destination_folder: '_data/theses' + rename: 'theses_st.yml' + user_name: 'csfbk' + user_email: 'cs@fbk.eu' + - run: echo "Operation completed."