Skip to content

Commit

Permalink
Test workaround to fix actions issues
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopernpruner committed Sep 26, 2024
1 parent 78731f8 commit 925a040
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/update-destinations-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,21 @@ jobs:
user_name: 'csfbk'
user_email: '[email protected]'

- 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: '[email protected]'

- run: echo "Operation completed."
17 changes: 17 additions & 0 deletions .github/workflows/update-members-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,21 @@ jobs:
user_name: 'csfbk'
user_email: '[email protected]'

- 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: '[email protected]'

- run: echo "Operation completed."
17 changes: 17 additions & 0 deletions .github/workflows/update-people-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,21 @@ jobs:
user_name: 'csfbk'
user_email: '[email protected]'

- 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: '[email protected]'

- run: echo "Operation completed."
17 changes: 17 additions & 0 deletions .github/workflows/update-people-pictures-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,21 @@ jobs:
user_email: '[email protected]'
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: '[email protected]'
use_rsync: true

- run: echo "Operation completed."
17 changes: 17 additions & 0 deletions .github/workflows/update-publications-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,21 @@ jobs:
user_name: 'csfbk'
user_email: '[email protected]'

- 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: '[email protected]'

- run: echo "Operation completed."
17 changes: 17 additions & 0 deletions .github/workflows/update-theses-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,21 @@ jobs:
user_name: 'csfbk'
user_email: '[email protected]'

- 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: '[email protected]'

- run: echo "Operation completed."

0 comments on commit 925a040

Please sign in to comment.