Skip to content

Fixed syncing

Fixed syncing #2

Workflow file for this run

name: Sync Docs to Another Repository
on:
push:
branches:
- main
jobs:
sync_docs:
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout source repository
uses: actions/checkout@v2
- name: Sync files
uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_PAT: ${{ steps.generate-token.outputs.token }}
CONFIG_PATH: .github/sync.yml