1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 15:40:15 +01:00

Disabled publish action for forks

This commit is contained in:
squidfunk 2020-02-24 23:07:14 +01:00
parent dd2ea3fe1c
commit 473e60c095

View File

@ -114,7 +114,9 @@ jobs:
# Publish Python package and Docker image
publish:
if: startsWith(github.ref, 'refs/tags')
if: |
github.repository == squidfunk/mkdocs-material && \
startsWith(github.ref, 'refs/tags')
needs: build
runs-on: ubuntu-latest
steps: