mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-25 10:03:45 +03:00
feat: added git folder sync config
This commit is contained in:
parent
274b04b432
commit
a69f0fb009
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