From 9028529ed06127efb215958393a33864888a1cf1 Mon Sep 17 00:00:00 2001 From: Marko Baricevic Date: Wed, 25 Oct 2023 11:34:46 +0200 Subject: [PATCH 1/2] test docs --- .github/workflows/copy-md.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/copy-md.yml b/.github/workflows/copy-md.yml index cafe8f713..54b952104 100644 --- a/.github/workflows/copy-md.yml +++ b/.github/workflows/copy-md.yml @@ -2,6 +2,7 @@ name: Copy MD Files on: workflow_dispatch: + pull_request: schedule: - cron: '0 0,12 * * *' @@ -14,6 +15,9 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 + with: + ref: sync-docs + fetch-depth: 0 - name: Set Up Node.js uses: actions/setup-node@v3 @@ -34,10 +38,10 @@ jobs: with: message: 'Updated MD File Changes from cosmos-sdk/docs' - - name: Push To Sync-Docs-Branch + - name: Push To Sync-Docs uses: ad-m/github-push-action@master with: - branch: sync-docs-branch + branch: sync-docs sims-notify-failure: permissions: From 3623191a408835029223b69016e018d628b522ed Mon Sep 17 00:00:00 2001 From: Marko Baricevic Date: Wed, 25 Oct 2023 11:45:49 +0200 Subject: [PATCH 2/2] dont run on prs --- .github/workflows/copy-md.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/copy-md.yml b/.github/workflows/copy-md.yml index 54b952104..9d1b9a87e 100644 --- a/.github/workflows/copy-md.yml +++ b/.github/workflows/copy-md.yml @@ -2,7 +2,6 @@ name: Copy MD Files on: workflow_dispatch: - pull_request: schedule: - cron: '0 0,12 * * *'