Skip to content

added environments

added environments #17

Workflow file for this run

name: Test workflow template
on:
push:
branches: [ "main","housten-dryrun" ]
paths-ignore: [HiTeam/**]
workflow_dispatch:
inputs:
logLevel:
description: "Level to log at"
type: choice
default: info
options:
- info
- warning
- debug
jobs:
echo:
runs-on: ubuntu-latest
strategy:
matrix:
environment: [dev,qa,test]
steps:
- name: Run a one-line script
run: echo "Hello this is a workflow template running log level ${{ github.event.inputs.logLevel }}" ; echo "${{ github.event.inputs.logLevel }} ${{ matrix.environment }} ${{ vars.SERVICE_ACCOUNT }} ">> $GITHUB_STEP_SUMMARY
name: echo ${{ github.event.inputs.logLevel }} ${{ matrix.environment }}