Update publications.yml #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update-publications-cs | |
on: | |
push: | |
paths: | |
- '_data/publications.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/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." |