From eb928309bd82c7cbbd789ca984d1075acf9f8ae3 Mon Sep 17 00:00:00 2001 From: ITOH Date: Tue, 1 Feb 2022 15:59:35 +0100 Subject: [PATCH] test other workflow --- .github/sync.yml | 3 +++ .github/workflows/docs.yml | 29 ++++++++++++++++++++--------- 2 files changed, 23 insertions(+), 9 deletions(-) create mode 100644 .github/sync.yml diff --git a/.github/sync.yml b/.github/sync.yml new file mode 100644 index 000000000..e75f8cff5 --- /dev/null +++ b/.github/sync.yml @@ -0,0 +1,3 @@ +discordeno/guide: + - source: docs/ + dest: ./ diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index bff9103ab..404e38306 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -5,17 +5,28 @@ on: 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/= +# TOKEN: ${{ secrets.DOCS_SYNC }} + jobs: - file_sync: + sync: runs-on: ubuntu-latest steps: - - name: Fetching Local Repository + - name: Checkout Repository uses: actions/checkout@master - - name: File Sync - uses: kbrashears5/github-action-file-sync@v2.0.0 + - name: Run GitHub File Sync + uses: BetaHuhn/repo-file-sync-action@v1 with: - REPOSITORIES: | - discordeno/guide@main - FILES: | - docs/= - TOKEN: ${{ secrets.DOCS_SYNC }} + GH_PAT: ${{ secrets.DOCS_SYNC }}