From 4eaf56a97636e8e96f92d37173aa2afc5b078f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ch=C5=82odnicki?= Date: Mon, 11 Jan 2021 23:20:04 +0100 Subject: [PATCH] chore(ci): require manual release --- .github/workflows/on_tileboard_release.yaml | 23 ++------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/on_tileboard_release.yaml b/.github/workflows/on_tileboard_release.yaml index 9166940..afb4db9 100644 --- a/.github/workflows/on_tileboard_release.yaml +++ b/.github/workflows/on_tileboard_release.yaml @@ -33,24 +33,5 @@ jobs: jq '.args.TILEBOARD_VERSION = "${{ github.event.inputs.version }}"' addon/build.json > addon/build_new.json mv addon/build_new.json addon/build.json git add ./addon/build.json - git commit -m 'chore: bump TileBoard version to v${{ github.event.inputs.version }}' - - - name: Create release - run: yarn release - - # Publish the addon. This needs to be repeated in this workflow as pushing a new tag from a workflow - # won't trigger the on_push workflow. - - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Publish - uses: home-assistant/builder@master - with: - args: | - --all \ - --target ./addon \ - --docker-hub tileboard + git commit -m 'chore(bump): TileBoard ${{ github.event.inputs.release_url }}' + git push --follow-tags