Skip to content

Commit

Permalink
Add missing publish
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Aug 10, 2021
1 parent 6fb0bf4 commit 427351d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
push:
pull_request:

env:
HAS_SECRETS: ${{ secrets.HAS_SECRETS }}

jobs:
build:
name: Continuous integration
Expand All @@ -26,3 +29,13 @@ jobs:
- run: pipenv run pytest
- run: mv sphinx-prompt sphinx_prompt
- run: pipenv run prospector --output=pylint sphinx_prompt
- run: mv sphinx_prompt sphinx-prompt

- name: Login to pypi
run: |
echo "[pypi]" > ~/.pypirc
echo "username = sbrunner" >> ~/.pypirc
echo "password = ${{ secrets.PYPI_PASSWORD }}" >> ~/.pypirc
if: env.HAS_SECRETS == 'HAS_SECRETS'
- name: Publish
run: c2cciutils-publish
4 changes: 4 additions & 0 deletions ci/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ checks:
codespell:
ignore_re:
- CHANGELOG\.md

publish:
docker:
images: []

0 comments on commit 427351d

Please sign in to comment.