Skip to content

Instantly share code, notes, and snippets.

@b1a9id

b1a9id/deploy.yml Secret

Last active Apr 19, 2021
Embed
What would you like to do?
workflow_dispatchの入力値バリデーション
steps:
- name: Check
if: ${{ github.event.inputs.environment != 'test1' && github.event.inputs.environment != 'test2'}}
run: |
echo "::error ${{ github.event.inputs.environment }} is invalid. environment must be 'test1' or 'test2'."
exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment