Skip to content

fix reference to app env #18

fix reference to app env

fix reference to app env #18

Workflow file for this run

on:
push:
workflow_dispatch:
inputs:
size:
description: The size
required: true
default: medium
type: choice
options:
- small
- medium
- large
jobs:
hello-world:
runs-on: ubuntu-latest
name: Say hello
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Print hello world
id: hello
uses: ./
with:
who-to-greet: 'Bob'
- name: Print time
run: echo "The time was ${{ steps.hello.outputs.time }}"
deploy:
runs-on: ubuntu-latest
name: Deploy
environment: dev
needs: [hello-world]
steps:
- name: Print env
run: echo "Env is ${{ vars.APP_ENV }}