🔥 3-day streak
GitHub Actions (GH-200)141 / 142
Question 141 of 142

A workflow defines an environment variable at three levels. At the top of the file, env: sets DEPLOY_TARGET: staging. Inside the 'deploy' job, env: sets DEPLOY_TARGET: production. Inside a step in that job, env: sets DEPLOY_TARGET: canary. When that step runs, what value does ${{ env.DEPLOY_TARGET }} resolve to for the step, and why?

Reviewed for accuracy · Report an issueNext question