Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-j-davies committed Apr 28, 2024
1 parent 5c18291 commit e184d2e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ name: Publish DEV

on:
release:
branches:
- dev
types:
- published
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
if: github.event.release.prereleased == true
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
Expand All @@ -24,6 +22,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
if: github.event.release.prereleased == true
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ name: Publish RELEASE

on:
release:
branches:
- main
types:
- published
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
if: github.event.release.prereleased == false
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
Expand All @@ -24,6 +22,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
if: github.event.release.prereleased == false
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-unifi-os",
"version": "1.0.0-dev.0",
"version": "1.0.0-dev.1",
"description": "Nodes to access UniFi data using endpoints and websockets",
"main": "build/nodes/unifi.js",
"scripts": {
Expand Down

0 comments on commit e184d2e

Please sign in to comment.