diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 23489d7..8c8fd94 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -114,10 +114,10 @@ jobs: - 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' \ + 'http://10.10.11.26:8090/api/v1/repos/${{ github.repository.owner.login }}/${{ 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: Basic $( echo -n "secrets.OWNER_USERNAME:secrets.OWNER_PASSWORD" | base64 )' \ -H 'Authorization: token ${{ secrets.GHA_TOKEN }}' \ -d '{"ref":"${{ github.ref }}","inputs":{"Version":"${{ steps.version_step.outputs.COMMIT_SHA_SHORT }}","Env":"${{ github.ref_name}}"}}' shell: bash