Add config trigger for hotfix

This commit is contained in:
Sergey Kirichenko 2024-01-31 16:24:13 +03:00
parent a6fb6c5f94
commit 4b8621a6e0

32
.github/workflows/config-build.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: 4testing multiarch-config-build
on:
push:
branches:
- 'hotfix/v*'
- 'release/v*'
- 'develop'
paths:
- 'config/**'
- 'install/docker/Dockerfile.app'
workflow_dispatch:
jobs:
select-branches:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v2
- name: Dispatch Action
run: |
echo "${GITHUB_REF_NAME}"
curl \
-X POST \
-u "${{ secrets.USERNAME}}:${{secrets.TOKEN}}" \
"https://api.github.com/repos/ONLYOFFICE/DocSpace-buildtools/dispatches" \
-H "Accept: application/vnd.github.everest-preview+json" \
--data '{"event_type": "config-trigger-action", "client_payload": { "branches": ["'"${GITHUB_REF_NAME}"'"]}}'