diff --git a/.github/workflows/update-members-cs.yml b/.github/workflows/update-members-cs.yml new file mode 100644 index 00000000..b59c9123 --- /dev/null +++ b/.github/workflows/update-members-cs.yml @@ -0,0 +1,27 @@ +name: update-members-cs + +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/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 new file mode 100644 index 00000000..c34da8e4 --- /dev/null +++ b/.github/workflows/update-people-cs.yml @@ -0,0 +1,27 @@ +name: update-people-cs + +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/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 new file mode 100644 index 00000000..08bc75fd --- /dev/null +++ b/.github/workflows/update-people-pictures-cs.yml @@ -0,0 +1,26 @@ +name: update-people-pictures-cs + +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."