Add example workflow #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run with Approval | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: hs-small | |
steps: | |
- name: Build | |
run: | | |
echo "Can run anytime, without limitations..." | |
against-test-environment-1-only: | |
runs-on: hs-small | |
environment: test-environment-1 | |
steps: | |
- name: Build | |
run: | | |
echo "This will only run against production, and will obey any rules in place..." |