Merge pull request #65 from wry-run/patch-5 #3
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-destinations-cs | |
on: | |
push: | |
paths: | |
- '_data/destinations.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/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." |