Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhao99 committed Dec 13, 2023
1 parent 8d3afe1 commit 3502770
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/actions/post-deploy-smoke-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@ inputs:
deploy-env:
description: The environment being deployed (e.g. "prod" or "test")
required: true

smoke-test-front-and-back-end:
runs-on: ubuntu-latest
steps:
- name: create env file
working-directory: frontend
run: |
touch .env
echo REACT_APP_BASE_URL=https://${{ inputs.deploy_env }}.simplereport.gov/ >> .env.production.local
- name: Run smoke test script
working-directory: frontend
run: yarn smoke:prod:deploy:ci
runs:
using: composite
steps:
- name: create env file
shell: bash
working-directory: frontend
run: |
touch .env
echo REACT_APP_BASE_URL=https://${{ env.DEPLOY_ENV }}.simplereport.gov/ >> .env.production.local
- name: Run smoke test script
shell: bash
working-directory: frontend
run: yarn smoke:prod:deploy:ci

# slack_alert:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 3502770

Please sign in to comment.