mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
feat: remove CI build trigger (#3070)
We do not need this trigger anymore as we auto-release beta versions from this repository and auto bump the dependency in unleash-enterprise.
This commit is contained in:
parent
07e8a351bb
commit
9ef4900baf
16
.github/workflows/build.yaml
vendored
16
.github/workflows/build.yaml
vendored
@ -52,19 +52,3 @@ jobs:
|
|||||||
- name: Publish static assets to S3
|
- name: Publish static assets to S3
|
||||||
run: |
|
run: |
|
||||||
aws s3 cp frontend/build s3://getunleash-static/unleash/main/$(git rev-parse HEAD) --recursive
|
aws s3 cp frontend/build s3://getunleash-static/unleash/main/$(git rev-parse HEAD) --recursive
|
||||||
|
|
||||||
trigger-ci-build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: [build]
|
|
||||||
if: github.event.commits && github.ref == 'refs/heads/main'
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Trigger CI build
|
|
||||||
env:
|
|
||||||
UNLEASH_CI_BUILDER_GITHUB_TOKEN: ${{ secrets.UNLEASH_CI_BUILDER_GITHUB_TOKEN }}
|
|
||||||
COMMITS: ${{ toJSON(github.event.commits[*].id) }}
|
|
||||||
SLUG: ${{ github.event.repository.full_name }}
|
|
||||||
run: |
|
|
||||||
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${UNLEASH_CI_BUILDER_GITHUB_TOKEN}" \
|
|
||||||
https://api.github.com/repos/bricks-software/unleash-ci-builder/dispatches \
|
|
||||||
-d "{\"event_type\":\"trigger-unleash-cloud-build\",\"client_payload\":{\"source\":\"${SLUG}\",\"commits\":${COMMITS}}}"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user