vaguerent/.github/workflows/dev-build.yml
Chris Roberts f9c3736994 Add build triggers
Include workflows for triggering nightly builds and custom dev builds
from `build-` prefixed branches
2023-05-25 14:07:26 -07:00

19 lines
490 B
YAML

on:
push:
branches: 'build-*'
jobs:
trigger-build:
if: github.repository == 'hashicorp/vagrant'
name: Trigger Development Build
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v3
- name: Trigger Development Build
run: ./.ci/dev-build "${BRANCH}" "${COMMIT_ID}"
env:
HASHIBOT_TOKEN: ${{ secrets.HASHIBOT_TOKEN }}
BRANCH: ${{ github.ref_name }}
COMMIT_ID: ${{ github.sha }}