Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashendrickx authored Feb 6, 2024
1 parent 2fd45ce commit 33a9a08
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release Workflow

on:
release:
types:
- created

jobs:
release-job:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Trigger Repository Dispatch
run: |
curl -X POST \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
--data '{"event_type": "custom-release-event", "client_payload": { "repository": "passwordless-client-js", "ref": ${{ github.event.release.tag_name }} }}' \
https://api.github.com/repos/passwordless-devops/dispatches

0 comments on commit 33a9a08

Please sign in to comment.