Skip to content

chore: update readme (github app) #551

chore: update readme (github app)

chore: update readme (github app) #551

Workflow file for this run

name: environment
on:
pull_request:
release:
types:
- published
push:
branches:
- main
env:
ENVIRONMENT: ${{ github.event_name == 'release' && 'production' || github.event_name == 'push' && 'development' || github.event_name == 'pull_request' && 'pull_request' }}
jobs:
run:
runs-on: ubuntu-latest
environment:
name: ${{ github.event_name == 'release' && 'production' || github.event_name == 'push' && 'development' || github.event_name == 'pull_request' && 'pull_request' }} # ${{ env.ENVIRONMENT }} ❌
steps:
- name: check environment (${{ env.ENVIRONMENT }})
run: |
echo "$ENVIRONMENT"