From 7c95a2e2f64ea2d471ebcd4bac72cae08c61a311 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 16 Oct 2021 19:04:50 +0300 Subject: workflows/ci: minor fixes --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93a929e..dd13d1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: needs: [test_local, test_example_config, test_docker] runs-on: ubuntu-latest name: 'Publish: Docker Hub' - if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')) + if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) steps: # https://github.com/docker/metadata-action#semver - id: meta @@ -141,7 +141,7 @@ jobs: path: dist if-no-files-found: error - name: Publish to PyPI - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ -- cgit v1.2.3