From 419988daed18fb60588732c4853666a8199066d3 Mon Sep 17 00:00:00 2001 From: maddieford <93676569+maddieford@users.noreply.github.com> Date: Mon, 31 Jul 2023 13:10:03 -0700 Subject: [PATCH] Create secrets.yml creating this to get actions secrets so I can migrate to github EMU --- .github/workflows/secrets.yml | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/secrets.yml diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml new file mode 100644 index 000000000..3550ab102 --- /dev/null +++ b/.github/workflows/secrets.yml @@ -0,0 +1,40 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: true + # The data type of the input + type: string + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: print secrets + env: + AZURE_FUNCTIONAPP_PUBLISH_PROFILE: ${{secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE}} + AZURE_FUNCTIONAPP_PUBLISH_STAGE_PROFILE: ${{secrets.AZURE_FUNCTIONAPP_PUBLISH_STAGE_PROFILE}} + AZURE_RBAC_CREDENTIALS: ${{secrets.AZURE_RBAC_CREDENTIALS}} + AZURE_STORAGE_CONNECTION_STRING: ${{secrets.AZURE_STORAGE_CONNECTION_STRING}} + MSAZUREOFFICIAL_PAT: ${{secrets.MSAZUREOFFICIAL_PAT}} + shell: bash + run: | + echo "$AZURE_FUNCTIONAPP_PUBLISH_PROFILE" + echo "$AZURE_FUNCTIONAPP_PUBLISH_STAGE_PROFILE" + echo "$AZURE_RBAC_CREDENTIALS" + echo "$AZURE_STORAGE_CONNECTION_STRING" + echo "$MSAZUREOFFICIAL_PAT"