Last active
March 8, 2022 18:17
-
-
Save PaulRBerg/33ae207dd19d40d6ca35b6b9bec31183 to your computer and use it in GitHub Desktop.
Simple workflow to print a GitHub Secret because GitHub doesn't offer this feature yet
This file contains hidden or 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
name: "Echo GitHub secret" | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
print-github-secret: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Check out the repo" | |
uses: "actions/checkout@v2" | |
- name: "Print the GitHub secret" | |
run: "echo ${{ secrets.YOUR_SECRET }} | sed 's/./& /g'" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment