mirror of
https://github.com/USA-RedDragon/badnest.git
synced 2025-01-18 22:50:44 +00:00
Update Releases to push when I tag
This commit is contained in:
parent
9df59aa445
commit
6978121b1f
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@ -1,19 +1,20 @@
|
||||
name: Release zip
|
||||
name: Releases
|
||||
|
||||
on: release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Package up a release
|
||||
run: zip -r ../badnest.zip hacs.json info.md custom_components
|
||||
- name: Run a multi-line script
|
||||
uses: JasonEtco/upload-to-release@master
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
args: ../badnest.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
artifact: ../badnest.zip
|
||||
artifactContentType: application/zip
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user