mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed workflow
This commit is contained in:
parent
6ef0d123c7
commit
a58a635626
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -150,9 +150,15 @@ jobs:
|
||||
- run: python setup.py build sdist bdist_wheel --universal
|
||||
|
||||
# Push release to PyPI
|
||||
- run: twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} dist/*
|
||||
- env:
|
||||
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||
run: twine upload -u ${PYPI_USERNAME} -p ${PYPI_USERNAME} dist/*
|
||||
|
||||
# Push image to Docker Hub
|
||||
- env:
|
||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- run: |
|
||||
docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
|
||||
docker tag ${GITHUB_REPOSITORY} ${GITHUB_REPOSITORY}:${GITHUB_REF##*/}
|
||||
|
Loading…
Reference in New Issue
Block a user