This repository was archived by the owner on May 6, 2026. It is now read-only.
Merge pull request #87 from easysoftware/how-to-deal-with-kb #296
This file contains hidden or 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: Push to other repositories | |
| on: push | |
| jobs: | |
| push: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token. | |
| fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. | |
| - name: Pushes to integrators - APIs | |
| uses: cpina/github-action-push-to-another-repository@main | |
| env: | |
| API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
| with: | |
| source-directory: 'docs/APIs' | |
| target-directory: 'docs/APIs' | |
| destination-github-username: 'easysoftware' | |
| destination-repository-name: 'developer-portal-integrators' | |
| user-email: ${{ secrets.EMAIL }} | |
| target-branch: main | |
| - name: Pushes to partner devs - Frontend_tutorials | |
| uses: cpina/github-action-push-to-another-repository@main | |
| env: | |
| API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
| with: | |
| source-directory: 'docs/Frontend_tutorials' | |
| target-directory: 'docs/Frontend_tutorials' | |
| destination-github-username: 'easysoftware' | |
| destination-repository-name: 'developer-portal-partner-devs' | |
| user-email: ${{ secrets.EMAIL }} | |
| target-branch: main | |
| - name: Pushes to partner devs - Getting_started | |
| uses: cpina/github-action-push-to-another-repository@main | |
| env: | |
| API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
| with: | |
| source-directory: 'docs/Getting_started' | |
| target-directory: 'docs/Getting_started' | |
| destination-github-username: 'easysoftware' | |
| destination-repository-name: 'developer-portal-partner-devs' | |
| user-email: ${{ secrets.EMAIL }} | |
| target-branch: main | |
| - name: Pushes to partner devs - Hello_RYS | |
| uses: cpina/github-action-push-to-another-repository@main | |
| env: | |
| API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
| with: | |
| source-directory: 'docs/Hello_RYS' | |
| target-directory: 'docs/Hello_RYS' | |
| destination-github-username: 'easysoftware' | |
| destination-repository-name: 'developer-portal-partner-devs' | |
| user-email: ${{ secrets.EMAIL }} | |
| target-branch: main | |
| - name: Pushes to partner devs - Others | |
| uses: cpina/github-action-push-to-another-repository@main | |
| env: | |
| API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
| with: | |
| source-directory: 'docs/Others' | |
| target-directory: 'docs/Others' | |
| destination-github-username: 'easysoftware' | |
| destination-repository-name: 'developer-portal-partner-devs' | |
| user-email: ${{ secrets.EMAIL }} | |
| target-branch: main | |
| - name: Pushes to partner devs - APIs | |
| uses: cpina/github-action-push-to-another-repository@main | |
| env: | |
| API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
| with: | |
| source-directory: 'docs/APIs' | |
| target-directory: 'docs/APIs' | |
| destination-github-username: 'easysoftware' | |
| destination-repository-name: 'developer-portal-partner-devs' | |
| user-email: ${{ secrets.EMAIL }} | |
| target-branch: main | |
| - name: Pushes to partner devs - Backend_tutorials | |
| uses: cpina/github-action-push-to-another-repository@main | |
| env: | |
| API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
| with: | |
| source-directory: 'docs/Backend_tutorials' | |
| target-directory: 'docs/Backend_tutorials' | |
| destination-github-username: 'easysoftware' | |
| destination-repository-name: 'developer-portal-partner-devs' | |
| user-email: ${{ secrets.EMAIL }} | |
| target-branch: main |