From 00633d42abcc6f5680482731848bd2b655091a5d Mon Sep 17 00:00:00 2001 From: Artem Navoiev Date: Fri, 14 Jul 2023 09:47:10 +0200 Subject: [PATCH] enable only when changes in docs Signed-off-by: Artem Navoiev --- .github/workflows/sync-docs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync-docs.yml b/.github/workflows/sync-docs.yml index d1ce306d1..8341840b7 100644 --- a/.github/workflows/sync-docs.yml +++ b/.github/workflows/sync-docs.yml @@ -3,8 +3,8 @@ on: push: branches: - 'master' - - 'sync-docs' - + paths: + - 'docs/**' workflow_dispatch: {} permissions: contents: read # This is required for actions/checkout and to commit back image update @@ -33,7 +33,6 @@ jobs: git_user_signingkey: true git_commit_gpgsign: true workdir: docs - - name: update code and commit run: | rm -rf content