aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-10-16 19:04:50 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-10-16 19:04:50 +0300
commit7c95a2e2f64ea2d471ebcd4bac72cae08c61a311 (patch)
tree40e3611ee2d532369251aab90c55b3312e87de6e
parentworkflows/ci: fix a typo (diff)
downloadcgitize-7c95a2e2f64ea2d471ebcd4bac72cae08c61a311.tar.gz
cgitize-7c95a2e2f64ea2d471ebcd4bac72cae08c61a311.zip
workflows/ci: minor fixes
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 2 insertions, 2 deletions
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__