From a69f0fb00986a04c812ab273711e8f3501b98139 Mon Sep 17 00:00:00 2001 From: Ivan Shvets Date: Wed, 23 Jun 2021 12:59:47 +0300 Subject: [PATCH] feat: added git folder sync config --- .github/sync.yml | 6 ++++++ .github/workflows/sync.yml | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/sync.yml create mode 100644 .github/workflows/sync.yml 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