2022-12-04 19:51:38 +03:00
|
|
|
name: CD
|
|
|
|
on:
|
|
|
|
push:
|
2023-09-10 12:25:41 +03:00
|
|
|
tags:
|
|
|
|
- "v[0-9]+.[0-9]+.[0-9]+"
|
|
|
|
branches:
|
|
|
|
- docs
|
2022-12-04 19:51:38 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
launch:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: |
|
|
|
|
curl -X POST -H "Accept: application/vnd.github+json" \
|
|
|
|
-H "Authorization: Bearer ${{ secrets.GH_PAT }}" \
|
|
|
|
https://api.github.com/repos/${{ secrets.BUILDER }}/dispatches \
|
|
|
|
-d '{"event_type":"deploy", "client_payload":{"branch": "${{ github.ref_name }}"}}'
|