Skip to content

Rename workflow

Rename workflow #2

Workflow file for this run

name: Deploy
on:
push:
main
workflow_dispatch:
inputs:
target:
type: choice
required: false
default: acc
options:
- acc
- prd
jobs:
test:
uses: ./.github/workflows/test.yml
deploy-acc:
if: ${{ inputs.target == 'acc' }}
needs: [test]
runs-on: ubuntu-22.04
environment: acc
steps:
- name: Deploy
run: echo deploy
deploy-prd:
if: ${{ inputs.target == 'prd' }}
needs: [test]
runs-on: ubuntu-22.04
environment: prod
steps:
- name: Deploy
run: echo deploy