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"