From 8c91925ca40f82444673f7c7264c2ecba8cf1dbb Mon Sep 17 00:00:00 2001 From: Vaibhav Singhal Date: Thu, 22 Feb 2024 18:07:08 +0000 Subject: [PATCH] vars in environment --- .github/workflows/secrets.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml index bbd44e3..160b19b 100644 --- a/.github/workflows/secrets.yml +++ b/.github/workflows/secrets.yml @@ -14,10 +14,10 @@ jobs: run: | echo "ENV var from yaml env conf - 1" - $DB_NAME echo "ENV var from yaml env conf - 2" - ${{env.DB_NAME}} - echo "ENV var from github environment settings" - ${{env.ENV_DB_NAME}} + echo "ENV var from github environment settings" - ${{vars.ENV_DB_NAME}} test-env-secrets: environment: test runs-on: ubuntu-latest steps: - name: test secrets - run: echo "ENV secrets from github environment settings" - {{secrets.MY_SECRET}} \ No newline at end of file + run: echo "ENV secrets from github environment settings" - ${{secrets.MY_SECRET}} \ No newline at end of file