From cdff6e6ee76d52ab29e68c099a369b1f7e383277 Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Tue, 27 Sep 2022 11:08:44 +0200 Subject: [PATCH 1/3] updating deploy-docs.yml with git config cmd --- .github/workflows/deploy-docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 874a3f77c6c..ffbaaf99cd1 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -30,6 +30,7 @@ jobs: - name: Build 🔧 run: | + git config --global --add safe.directory /__w/ibc-go/ibc-go make build-docs LEDGER_ENABLED=false - name: Deploy 🚀 From a95cfcb1934675bd1394bfbf65681b029e2e74ce Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Tue, 27 Sep 2022 11:17:21 +0200 Subject: [PATCH 2/3] testing workflow build --- .github/workflows/deploy-docs.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index ffbaaf99cd1..68aa695ec0d 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -1,14 +1,15 @@ name: Deploy docs # This job builds and deploys documenation to github pages. # It runs on every push to main with a change in the docs folder. -on: - push: - branches: - - main - - "release/**" - paths: - - "docs/**" - - .github/workflows/deploy-docs.yml +# on: +# push: +# branches: +# - main +# - "release/**" +# paths: +# - "docs/**" +# - .github/workflows/deploy-docs.yml +on: push permissions: contents: read From a094ab651e2c98c633b6617934a29e494e027552 Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Tue, 27 Sep 2022 11:39:10 +0200 Subject: [PATCH 3/3] readding on push directives --- .github/workflows/deploy-docs.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 68aa695ec0d..ffbaaf99cd1 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -1,15 +1,14 @@ name: Deploy docs # This job builds and deploys documenation to github pages. # It runs on every push to main with a change in the docs folder. -# on: -# push: -# branches: -# - main -# - "release/**" -# paths: -# - "docs/**" -# - .github/workflows/deploy-docs.yml -on: push +on: + push: + branches: + - main + - "release/**" + paths: + - "docs/**" + - .github/workflows/deploy-docs.yml permissions: contents: read