Skip to content

Commit

Permalink
Merge pull request #486 from HSLdevcom/actions-update
Browse files Browse the repository at this point in the history
Build and deploy only on version increment
  • Loading branch information
sharhio authored Nov 13, 2024
2 parents 3d6fe74 + 22345f8 commit 24f26d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/next_lwa-virtualmonitor-dev-weu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:

build:
runs-on: 'ubuntu-latest'
if: "startsWith(github.event.head_commit.message, '[DEPLOY]')"

steps:
- uses: actions/checkout@v4
Expand All @@ -56,6 +57,7 @@ jobs:

deploy:
runs-on: ubuntu-latest
if: "startsWith(github.event.head_commit.message, '[DEPLOY]')"
needs: build
environment:
name: 'development'
Expand Down

0 comments on commit 24f26d9

Please sign in to comment.