Skip to content

Commit

Permalink
feat(ci): auto deploy to staging on push
Browse files Browse the repository at this point in the history
DEVOPS-137
  • Loading branch information
remdub committed Jul 3, 2024
1 parent a5e5314 commit 3624867
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: Publish and deploy staging image
on: [workflow_dispatch]

on:
push:
branches:
- main
tags:
- '!**'
jobs:
build-push:
runs-on:
group: self-hosted
if: contains(github.event.head_commit.message, 'Back to development:') == false && contains(github.event.head_commit.message, 'Preparing release') == false
steps:
- name: Build push and notify
uses: IMIO/gha/build-push-notify@main
Expand Down

0 comments on commit 3624867

Please sign in to comment.