From 165d6e5864bebb1663ac900067caa790da917014 Mon Sep 17 00:00:00 2001 From: weipeng Date: Sun, 16 Jul 2023 15:09:06 +0800 Subject: [PATCH] [Doc] sync files to home site (#666) feat: sync file to home page Co-authored-by: quanzheng --- .github/sync.yml | 6 ++++++ .github/workflows/sync.yml | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .github/sync.yml create mode 100644 .github/workflows/sync.yml diff --git a/.github/sync.yml b/.github/sync.yml new file mode 100644 index 0000000000..5748b68d9a --- /dev/null +++ b/.github/sync.yml @@ -0,0 +1,6 @@ +fury-project/fury-sites@main: + - source: docs/guide/ + dest: docs/guide/ + + - source: docs/benchmarks/ + dest: public/benchmarks/ \ No newline at end of file diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml new file mode 100644 index 0000000000..6575bb4502 --- /dev/null +++ b/.github/workflows/sync.yml @@ -0,0 +1,18 @@ +name: Sync Files + +on: + push: + branches: + - main + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: sync + uses: BetaHuhn/repo-file-sync-action@v1 + with: + GH_PAT: ${{ secrets.GH_PAT }} + SKIP_PR: true \ No newline at end of file