modified wiki_snap.yaml #4
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: source code sync to wiki | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source repo | |
uses: actions/checkout@v2 | |
- name: Push changes to target repository | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.REPO_SYNC_TOKEN }} | |
repository: charanravi-online/wiki | |
branch: main |