diff --git a/.github/workflows /config-build.yml b/.github/workflows /config-build.yml new file mode 100644 index 0000000000..596a3b3e35 --- /dev/null +++ b/.github/workflows /config-build.yml @@ -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}"'"]}}' \ No newline at end of file