Skip to content

Commit

Permalink
Create secrets.yml
Browse files Browse the repository at this point in the history
creating this to get actions secrets so I can migrate to github EMU
  • Loading branch information
maddieford authored Jul 31, 2023
1 parent 28345a5 commit 419988d
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/secrets.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 419988d

Please sign in to comment.