Add desktop release trigger

This commit is contained in:
99 committed 2021-02-10 12:01:48 -08:00
1 parent 450b8c2ab0
commit 6c4863efc7
1 file changed
+20
+20
View File
@@ -0,0 +1,20 @@
name: "Trigger Boundary UI release"
on:
push:
tags:
- '*'
jobs:
trigger-circleci-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Trigger Release job
env:
TAG: ${{ github.event.release.tag_name }}
run: |
curl -u ${{ secrets.CIRCLE_CI_TOKEN }}: -X POST --header "Content-Type: application/json" \
-d '{ "branch": "main", "parameters": {"TAG": "${TAG}" }}' \
https://circleci.com/api/v2/project/github/hashicorp/boundary-ui-releases/pipeline