Skip to content

Commit 5dbf8be

Browse files
committed
Update CI/CD workflow for my-smart-homes fork
- Change repository check from home-assistant to my-smart-homes - Use local artifacts-index workflow reference - Enable publishing for my-smart-homes/operating-system
1 parent 4aa3c8a commit 5dbf8be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
env:
6565
PUBLISH_FLAG: ${{ inputs.publish }}
6666
run: |
67-
if [ "${{ github.repository }}" == "home-assistant/operating-system" ]; then
67+
if [ "${{ github.repository }}" == "my-smart-homes/operating-system" ]; then
6868
if [ "${PUBLISH_FLAG}" != "true" ] && [ "${{ github.event_name }}" != "release" ]; then
6969
echo "publish_build=false" >> "$GITHUB_OUTPUT"
7070
else
@@ -446,7 +446,7 @@ jobs:
446446
name: Update artifacts index
447447
if: ${{ github.event_name != 'release' && needs.prepare.outputs.publish_build == 'true' }}
448448
needs: [ build, prepare ]
449-
uses: home-assistant/operating-system/.github/workflows/artifacts-index.yaml@dev
449+
uses: ./.github/workflows/artifacts-index.yaml
450450
with:
451451
version: ${{ needs.prepare.outputs.version_full }}
452452
secrets:
@@ -459,7 +459,7 @@ jobs:
459459

460460
bump_version:
461461
name: Bump ${{ needs.prepare.outputs.channel }} channel version
462-
if: ${{ github.repository == 'home-assistant/operating-system' && needs.prepare.outputs.publish_build == 'true' && (needs.prepare.outputs.channel != 'dev' || github.ref == 'refs/heads/dev') }}
462+
if: ${{ github.repository == 'my-smart-homes/operating-system' && needs.prepare.outputs.publish_build == 'true' && (needs.prepare.outputs.channel != 'dev' || github.ref == 'refs/heads/dev') }}
463463
environment: ${{ needs.prepare.outputs.channel }}
464464
needs: [ build, prepare ]
465465
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)