Skip to content

Commit

Permalink
Tiny changes to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
yozik04 committed Sep 27, 2024
1 parent aceab4b commit 9673ea0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
uses: ./.github/workflows/test.yml
publish:
name: Publish to Docker Hub
if: github.repository == 'ParadoxAlarmInterface/pai' && github.ref == 'refs/heads/dev'
uses: ./.github/workflows/publish_docker.yml
needs: test
if: github.repository_owner == 'ParadoxAlarmInterface'
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
name: Publish to Docker Hub
uses: ./.github/workflows/publish_docker.yml
needs: test
if: github.repository_owner == 'ParadoxAlarmInterface'
if: github.repository == 'ParadoxAlarmInterface/pai'
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
publish_pypi:
name: Publish to PyPI
uses: ./.github/workflows/publish_pypi.yml
needs: test
if: github.repository_owner == 'ParadoxAlarmInterface'
if: github.repository == 'ParadoxAlarmInterface/pai'
secrets:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 9673ea0

Please sign in to comment.