Skip to content

Merge pull request #65 from wry-run/patch-5 #3

Merge pull request #65 from wry-run/patch-5

Merge pull request #65 from wry-run/patch-5 #3

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."