Merge pull request #1652 from Redocly/feat/git-folder-sync

feat: added git folder sync config
This commit is contained in:
Ivan Shvets 2021-06-25 10:47:58 +03:00 committed by GitHub
commit ece0f5a0cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

6
.github/sync.yml vendored Normal file
View File

@ -0,0 +1,6 @@
group:
- files:
- source: docs/
dest: docs/redoc
repos: |
Redocly/docs

16
.github/workflows/sync.yml vendored Normal file
View File

@ -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 }}