Skip to content

Environment Approval #6

Environment Approval

Environment Approval #6

name: Environment Approval
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: build
run: echo Building code
deploy_NonPROD:
needs: [build]
runs-on: ubuntu-latest
environment: NonPROD
steps:
- name: test
run: echo deploy to environment NonPROD
deploy_PROD:
needs: [deploy_NonPROD]
runs-on: ubuntu-latest
environment: PROD
steps:
- name: test
run: echo deploy to environment PROD