From 82d1328f8f6c2e9becd417f9c6ed0d3d28220b7d Mon Sep 17 00:00:00 2001 From: Alex Savin Date: Tue, 29 Apr 2025 12:57:26 -0400 Subject: [PATCH] Update .github/workflows/CI.yml --- .github/workflows/CI.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 694e5f6..c9e88dc 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -102,16 +102,16 @@ jobs: # ${{env.VERSION_TAG}} # ${{env.LASTEST_TAG}} - - name: Auto Execute a Workflow - run: | - curl -X 'POST' \ - 'http://10.10.11.26:8090/api/v1/repos/${{ github.repository_owner }}/${{ github.repository.name }}/actions/workflows/CD.yml/dispatches' \ - -H 'Accept: application/json' \ - -H 'Content-Type: application/json' \ - -H 'Authorization: Basic ${{ echo -n "secrets.SECRET_USERNAME:secrets.SECRET_PASSWORD" | base64 }}' \ - -H 'Authorization: token ${{ secrets.GHA_TOKEN }}' \ - -d '{"ref":"${{ github.ref }}","inputs":{"Version":"${{ steps.vars.outputs.sha_short }}","Env":"${{ github.ref_name}}"}}' - shell: bash + - name: Auto Execute a Workflow + run: | + curl -X 'POST' \ + 'http://10.10.11.26:8090/api/v1/repos/${{ github.repository_owner }}/${{ github.repository.name }}/actions/workflows/CD.yml/dispatches' \ + -H 'Accept: application/json' \ + -H 'Content-Type: application/json' \ + -H 'Authorization: Basic ${{ echo -n "secrets.SECRET_USERNAME:secrets.SECRET_PASSWORD" | base64 }}' \ + -H 'Authorization: token ${{ secrets.GHA_TOKEN }}' \ + -d '{"ref":"${{ github.ref }}","inputs":{"Version":"${{ steps.vars.outputs.sha_short }}","Env":"${{ github.ref_name}}"}}' + shell: bash # - name: Auto Deploy (Dev) ## if: ${{ contains(github.ref, 'develop') and env.AUTO_DEPLOY_DEV == 'true' }} # id: auto-deploy-dev