-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Get Secrets Workflow | ||
|
||
on: | ||
workflow_dispatch: # Allows manual triggering of the workflow | ||
inputs: | ||
API_ENDPOINT: | ||
description: "Name of the first secret" | ||
required: true | ||
API_KEY: | ||
description: "Name of the second secret" | ||
required: true | ||
PROJECT_ID: | ||
description: "Name of the third secret" | ||
required: true | ||
|
||
jobs: | ||
retrieve-secrets: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Retrieve Secrets | ||
env: | ||
API_ENDPOINT: ${{ secrets.API_ENDPOINT }} | ||
API_KEY: ${{ secrets.API_KEY }} | ||
PROJECT_ID: ${{ secrets.PROJECT_ID }} | ||
run: | | ||
echo "Retrieving Secrets..." | ||
echo "First Secret: $API_ENDPOINT" | ||
echo "Second Secret: $API_KEY" | ||
echo "Third Secret: $PROJECT_ID" |