From 69de66c036c7de5ed6800cd07c61af8ed4342427 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Wed, 18 Jun 2025 22:27:06 +0300 Subject: [PATCH] update docker hub read me on tag --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b6ef0843..a9b34bad 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -234,7 +234,7 @@ jobs: dockerhub-sync-readme: runs-on: ubuntu-latest - if: (github.event_name == 'push' && endsWith(github.ref, github.event.repository.default_branch)) || (github.event_name == 'workflow_dispatch' && github.event.inputs.update_readme == 'true') + if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')) || (github.event_name == 'workflow_dispatch' && github.event.inputs.update_readme == 'true') steps: - name: Sync README uses: docker://lsiodev/readme-sync:latest