mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 08:15:09 +00:00
ci: add workflow to react on Fieldmate release
This workflow listens for repository_dispatch events of type 'fieldmate-release'. It is intended to be triggered from the Fieldmate repository after a new version is released. On receiving the event: - It prints the version number from the client_payload - Serves as an integration point for docker rebuilds, publish flows, or other automations Use `version` in the client payload to pass the released tag, e.g. 'v0.0.2'.
This commit is contained in:
parent
3c06923c64
commit
9ed7b47cc3
1 changed files with 17 additions and 0 deletions
17
.github/workflows/on-fieldmate-release.yml
vendored
Normal file
17
.github/workflows/on-fieldmate-release.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
name: React to Fieldmate Release
|
||||
|
||||
on:
|
||||
repository_dispatch:
|
||||
types: [fieldmate-release]
|
||||
|
||||
jobs:
|
||||
on-release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Show release version
|
||||
run: |
|
||||
echo "Triggered by fieldmate release"
|
||||
echo "Version: ${{ github.event.client_payload.version }}"
|
||||
Loading…
Reference in a new issue