Skip to content

Merge pull request #83 from UKHSA-Internal/add_new_variant_V-23JUL-01 #21

Merge pull request #83 from UKHSA-Internal/add_new_variant_V-23JUL-01

Merge pull request #83 from UKHSA-Internal/add_new_variant_V-23JUL-01 #21

name: Deploy to Sandbox....
on:
push:
branches:
- sandbox
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: UKHSA-Internal/[email protected]
with:
url: ${{ secrets.SANDBOXPUBLISHPROFILE }}
data: >
{"command": "publish"}
test:
runs-on: ubuntu-latest
name: Automated Regression Tests of COVID19 Dashboard Website
needs: build
steps:
# ## calls the AIQ-Automation-Covid-Dashboard workflow to run the automated tests
- name: Calls AIQ-Automation-Covid-Dashboard workflow to run the automated tests
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.ACCESS_TOKEN }} " \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/UKHSA-Internal/AIQ-Automation-Covid-Dashboard/actions/workflows/CovidDashboard_CI.yml/dispatches \
-d '{"ref":"main","inputs": { "DExecution_Env":"Sandbox", "DScenarioNameTest":"SmokeTests_Scenario" }}'