mirror of
https://github.com/labring/sealos.git
synced 2026-11-04 05:05:33 +08:00
27 lines
601 B
YAML
27 lines
601 B
YAML
name: Sync Docs
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "*.md"
|
|
- docs/4.0/**
|
|
workflow_dispatch:
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Run GitHub File Sync
|
|
uses: BetaHuhn/repo-file-sync-action@v1.21.0
|
|
with:
|
|
GH_PAT: ${{ secrets.GH_PAT }}
|
|
CONFIG_PATH: .github/sync_docs.yml
|
|
ORIGINAL_MESSAGE: true
|
|
SKIP_PR: true
|
|
COMMIT_EACH_FILE: false
|
|
GIT_EMAIL: "sealos-ci-robot@sealos.io"
|
|
GIT_USERNAME: "sealos-ci-robot"
|