Skip to content

Commit

Permalink
chore(ci): require manual release
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Jan 11, 2021
1 parent 14a2fdc commit 4eaf56a
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/on_tileboard_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4eaf56a

Please sign in to comment.