Security | Add cxflow.yml action #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: Build beta & production images | |
# on: | |
# push: | |
# branches: [master, production] | |
# jobs: | |
# build-image: | |
# name: Build Requestly Production Cloud Image | |
# runs-on: ubuntu-latest | |
# env: | |
# DEPLOY: "${{ github.ref_name == 'production' }}" | |
# steps: | |
# - name: Triggering ${{ github.ref_name }} Image Build | |
# uses: peter-evans/repository-dispatch@v2 | |
# with: | |
# token: ${{ secrets.REQUESTLY_CLOUD_TOKEN }} | |
# repository: requestly/requestly-cloud | |
# event-type: requestly-cloud-build | |
# client-payload: '{"branch_name": "${{ github.ref_name }}", "deploy": "${{ env.DEPLOY }}"}' |