Skip to content

leadminer v0.2.2

leadminer v0.2.2 #6

Workflow file for this run

name: Trigger Prod deployment
on:
workflow_dispatch:
release:
types: [published]
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger Workflow in Leadminer.io repository
run: |
repo_owner="ankaboot-source"
repo_name="leadminer.io"
event_type="trigger-prod"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.DEPLOY_PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/$repo_owner/$repo_name/dispatches \
-d "{\"event_type\": \"$event_type\"}"