Skip to content

Commit

Permalink
feat: added git folder sync config
Browse files Browse the repository at this point in the history
  • Loading branch information
Leocete committed Jun 23, 2021
1 parent 274b04b commit a69f0fb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
group:
- files:
- source: docs/
dest: docs/redoc
repos: |
Redocly/docs
16 changes: 16 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit a69f0fb

Please sign in to comment.