Skip to content

Commit

Permalink
Merge branch 'master' of github.com:stfbk/stfbk.github.io
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopernpruner committed Sep 6, 2023
2 parents a43a6cc + f90cc0f commit 1c1ac7d
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/update-members-cs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Update members in CS repository

on:
push:
paths:
- '_data/members.yml'

jobs:
copy-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Push to CS repository
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'
rename: 'members_st.yml'
user_name: 'csfbk'
user_email: 'cs@fbk.eu'

- run: echo "Operation completed."
27 changes: 27 additions & 0 deletions .github/workflows/update-people-cs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Update people in CS repository

on:
push:
paths:
- '_data/people.yml'

jobs:
copy-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Push to CS repository
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'
rename: 'people_st.yml'
user_name: 'csfbk'
user_email: 'cs@fbk.eu'

- run: echo "Operation completed."
26 changes: 26 additions & 0 deletions .github/workflows/update-pictures-cs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Update members' pictures in CS repository

on:
push:
paths:
- 'assets/areas/people/**'

jobs:
copy-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Push to CS repository
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'

- run: echo "Operation completed."

0 comments on commit 1c1ac7d

Please sign in to comment.