Skip to content

3.15.4

3.15.4 #171

Workflow file for this run

name: Trigger Satis Build
on:
release:
types:
- created
jobs:
webhook:
name: Send Webhook
runs-on: ubuntu-latest
steps:
- name: Set Package
id: package
env:
REPO: ${{ github.repository }}
run: echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT
- name: Set Version
id: tag
run: echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.SATIS_WEBHOOK_TOKEN }}
repository: bluehost/satis
event-type: 'Trigger Satis Build'
client-payload: >-
{
"vendor": "${{ github.repository_owner }}",
"package": "${{ steps.package.outputs.PACKAGE }}",
"version": "${{ steps.tag.outputs.VERSION }}"
}