feat(workflows): doc sync action

This still needs to be tested
This commit is contained in:
ITOH
2022-02-01 15:32:50 +01:00
parent 72b8854a99
commit 7fc6b91979
+23
View File
@@ -0,0 +1,23 @@
name: Docs
on:
push:
paths:
- "docs/**"
jobs:
file_sync:
runs-on: ubuntu-latest
steps:
- name: Fetching Local Repository
uses: actions/checkout@master
- name: File Sync
uses: kbrashears5/github-action-file-sync@v2.0.0
with:
REPOSITORIES: |
discordeno/guide@main
FILES: |
docs/=sync/
TOKEN: ${{ secrets.DOCS_SYNC }}
GIT_EMAIL: to@itoh.at
GIT_USERNAME: itohatweb