|
14 | 14 | CONTENT_BUILD_CHANNEL_ID: C02VD909V08 #status-content-build
|
15 | 15 | BROKEN_LINKS_SLACK: C030F5WV2TF # content-broken-links
|
16 | 16 | INSTANCE_TYPE: m5.4xlarge
|
| 17 | + # Sandbox Drupal address, username, and password is used on branches other than main. |
| 18 | + DRUPAL_ADDRESS: https://main-medc0xjkxm4jmpzxl3tfbcs7qcddsivh.ci.cms.va.gov |
| 19 | + # This is a test credential and is not used on any production instances. |
| 20 | + DRUPAL_PASSWORD: drupal8 |
17 | 21 |
|
18 | 22 | concurrency:
|
19 | 23 | group: ${{ github.ref != 'refs/heads/main' && github.ref || github.sha }}
|
|
34 | 38 | vagovstaging_buildtime: ${{ env.vagovstaging_buildtime }}
|
35 | 39 |
|
36 | 40 | env:
|
37 |
| - # Sandbox Drupal address, username, and password is used on branches other than main. |
38 |
| - DRUPAL_ADDRESS: https://main-medc0xjkxm4jmpzxl3tfbcs7qcddsivh.ci.cms.va.gov |
39 |
| - # This is a test credential and is not used on any production instances. |
40 |
| - DRUPAL_PASSWORD: drupal8 |
41 | 41 | NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt
|
42 | 42 |
|
43 | 43 | strategy:
|
@@ -682,15 +682,16 @@ jobs:
|
682 | 682 | DEST: s3://${{ matrix.bucket }}
|
683 | 683 |
|
684 | 684 | - name: Wait for the CMS to be ready
|
| 685 | + if: ${{ matrix.environment == 'vagovstaging' }} |
685 | 686 | uses: ./.github/workflows/wait-for-cms-ready
|
686 | 687 | with:
|
687 |
| - base_url: https://staging.cms.va.gov |
| 688 | + base_url: ${{ env.DRUPAL_ADDRESS }} |
688 | 689 |
|
689 | 690 | - name: CMS GovDelivery callback
|
690 | 691 | if: ${{ matrix.environment == 'vagovstaging' }}
|
691 | 692 | uses: fjogeleit/http-request-action@e8dd067b83c3ab0774c76bf065b1c4f11c7e45ba # v1.14.0
|
692 | 693 | with:
|
693 |
| - url: https://staging.cms.va.gov/api/govdelivery_bulletins/queue?EndTime=${{ needs.build.outputs.vagovstaging_buildtime }}&src=gha&runId=${{ github.run_id }}&runNumber=${{ github.run_number }} |
| 694 | + url: ${{ env.DRUPAL_ADDRESS }}/api/govdelivery_bulletins/queue?EndTime=${{ needs.build.outputs.vagovstaging_buildtime }}&src=gha&runId=${{ github.run_id }}&runNumber=${{ github.run_number }} |
694 | 695 | method: GET
|
695 | 696 | username: api
|
696 | 697 | password: ${{ env.CALLBACK_TOKEN }}
|
|
0 commit comments