1
0
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:
Gard Rimestad 2023-02-09 09:13:43 +01:00 committed by GitHub
parent 07e8a351bb
commit 9ef4900baf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}}}"