mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
feat(workflows): doc sync action
This still needs to be tested
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user