diff --git a/.github/sync.yml b/.github/sync.yml new file mode 100644 index 00000000..6d3a4e35 --- /dev/null +++ b/.github/sync.yml @@ -0,0 +1,6 @@ +group: + - files: + - source: docs/ + dest: docs/redoc + repos: | + Redocly/docs diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml new file mode 100644 index 00000000..19f53cf6 --- /dev/null +++ b/.github/workflows/sync.yml @@ -0,0 +1,16 @@ +name: Sync Files +on: + push: + branches: + - master + workflow_dispatch: +jobs: + sync: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@master + - name: Run GitHub File Sync + uses: Redocly/repo-file-sync-action + with: + GH_PAT: ${{ secrets.GH_PAT }} \ No newline at end of file