EnvrionmentReview #12
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: EnvrionmentReview | |
on: | |
push: | |
paths: | |
- ".github/workflows/environment-review.yml" | |
workflow_dispatch: | |
jobs: | |
first: | |
name: First job | |
runs-on: ubuntu-latest | |
steps: | |
- name: Do some stuff | |
run: | | |
echo "Do some stuff $(date +%T)" | |
second: | |
name: Second job | |
strategy: | |
matrix: | |
environment: [ Test, Staging ] | |
fail-fast: false | |
environment: ${{ matrix.environment }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Do some stuff | |
run: | | |
echo "Do some stuff after approval $(date +%T)" | |
- name: Do some unique stuff | |
run: | | |
echo "THIS_ENV_ONLY variable ${{ vars.THIS_ENV_ONLY }}" |