Skip to content

Commit

Permalink
syntax is hard part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhao99 committed Dec 13, 2023
1 parent d3fc23e commit 8d3afe1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 22 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/smokeTestDeployDev.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
name: Smoke test deploy
run-name: Smoke test the deploy for ${{ inputs.deploy_env }} by @${{ github.actor }}
run-name: Smoke test the deploy for a dev env by @${{ github.actor }}

on:
# DELETE ME WHEN MERGING
push:
workflow_dispatch:
inputs:
deploy_env:
description: 'The environment to smoke test'
required: true
type: choice
options:
- ""
- dev
- dev2
- dev3
- dev4
- dev5
- dev6
- dev7
- pentest
# UNCOMMENT ME WHEN MERGING
# workflow_dispatch:
# inputs:
# deploy_env:
# description: 'The environment to smoke test'
# required: true
# type: choice
# options:
# - ""
# - dev
# - dev2
# - dev3
# - dev4
# - dev5
# - dev6
# - dev7
# - pentest

env:
NODE_VERSION: 18
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/smokeTestDeployProd.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Smoke test deploy
run-name: Smoke test the deploy for ${{ inputs.deploy_env }} by @${{ github.actor }}
name: Smoke test deploy Prod
run-name: Smoke test the deploy for prod by @${{ github.actor }}

on:
# DELETE ME WHEN MERGING
push:
workflow_run:
workflows: [ " Deploy Prod" ]
types:
Expand Down Expand Up @@ -33,4 +31,4 @@ jobs:
- name: Smoke test the env
uses: ./.github/actions/post-deploy-smoke-test
with:
deploy-env: ${{env.DEPLOY_ENV}}
deploy-env: ${{ env.DEPLOY_ENV }}

0 comments on commit 8d3afe1

Please sign in to comment.