Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger prod deploys on new v* tags #263

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Trigger Builds on Release
# Trigger builds on okd only on new releases
# Assumes the branch is "master"
# Trigger builds on okd only on new releases (tags starting with `v`)
# Uses secrets.OKD_BUILD_HOOK to know where to send the event to
# OKD_BUILD_HOOK should be a generic build hook

on:
release:
types:
- released
on:
push:
tags:
- v*

jobs:
trigger_build:
name: trigger build
runs-on: ubuntu-latest

steps:
# Grab committer and author information from the commit
- name: get commit
Expand Down