MWPW-158176: RNR- Updated production url #2288
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: Inside Tests | |
on: | |
push: | |
branches: | |
- stage | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened, edited] | |
branches: | |
- stage | |
- main | |
jobs: | |
trigger-circleci: | |
name: Trigger CircleCI Job | |
runs-on: [self-hosted, Linux, X64] | |
steps: | |
- name: Trigger CircleCI Job | |
run: | | |
curl -X POST 'https://circle.ci.adobe.com/api/v2/project/gh/wcms/Platform-UI-DC/pipeline' \ | |
-H 'Circle-Token: ${{ secrets.CCI_TOKEN }}' \ | |
-H 'content-type: application/json' \ | |
-d "{\"branch\":\"main\", \ | |
\"parameters\":{ \ | |
\"env\":\"live\", \ | |
\"dcbranch\":\"${{ github.head_ref || github.ref_name }}\" \ | |
} \ | |
}" | |
- name: Trigger Jenkins Job | |
run: | | |
curl -X POST 'https://dc.ci.corp.adobe.com/job/DC%20Release%20-%20Run%20Nala/buildWithParameters?token=${{ secrets.JNK_JOB_TOKEN }}&branch=${{ github.head_ref || github.ref_name }}' \ | |
-u '${{ secrets.JNK_USER }}:${{ secrets.JNK_API_TOKEN }}' |