hassio-supervised-installer/.github/workflows/build-deb.yml
Matheson Steplock 9a29c0a258 get rid of push
2021-10-03 20:21:40 +00:00

21 lines
No EOL
552 B
YAML

name: Build Deb Package
# yamllint disable-line rule:truthy
on:
workflow_dispatch:
release:
types: ["published"]
jobs:
build-deb-package:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- run: chmod 755 homeassistant-supervised/DEBIAN/p*
- run: dpkg-deb --build --root-owner-group homeassistant-supervised
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: homeassistant-supervised.deb