Skip to content

Commit 9673ea0

Browse files
committed
Tiny changes to workflows
1 parent aceab4b commit 9673ea0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
uses: ./.github/workflows/test.yml
1515
publish:
1616
name: Publish to Docker Hub
17+
if: github.repository == 'ParadoxAlarmInterface/pai' && github.ref == 'refs/heads/dev'
1718
uses: ./.github/workflows/publish_docker.yml
1819
needs: test
19-
if: github.repository_owner == 'ParadoxAlarmInterface'
2020
secrets:
2121
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
2222
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
name: Publish to Docker Hub
1313
uses: ./.github/workflows/publish_docker.yml
1414
needs: test
15-
if: github.repository_owner == 'ParadoxAlarmInterface'
15+
if: github.repository == 'ParadoxAlarmInterface/pai'
1616
secrets:
1717
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
1818
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
1919
publish_pypi:
2020
name: Publish to PyPI
2121
uses: ./.github/workflows/publish_pypi.yml
2222
needs: test
23-
if: github.repository_owner == 'ParadoxAlarmInterface'
23+
if: github.repository == 'ParadoxAlarmInterface/pai'
2424
secrets:
2525
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)