mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-29 03:53:43 +03:00
Merge pull request #1652 from Redocly/feat/git-folder-sync
feat: added git folder sync config
This commit is contained in:
commit
ece0f5a0cb
6
.github/sync.yml
vendored
Normal file
6
.github/sync.yml
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
group:
|
||||||
|
- files:
|
||||||
|
- source: docs/
|
||||||
|
dest: docs/redoc
|
||||||
|
repos: |
|
||||||
|
Redocly/docs
|
16
.github/workflows/sync.yml
vendored
Normal file
16
.github/workflows/sync.yml
vendored
Normal 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 }}
|
Loading…
Reference in New Issue
Block a user