Created
June 30, 2022 10:39
-
-
Save 1k-off/3fad7f346474ae2609fbf425fb0d1490 to your computer and use it in GitHub Desktop.
Github action to show secret
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: Show secrets | |
| on: [push] | |
| jobs: | |
| debug: | |
| name: Debug | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v2 | |
| - name: Set up secret file | |
| env: | |
| DEBUG_PASSWORD: ${{ secrets.DEBUG_PASSWORD }} | |
| DEBUG_SECRET_KEY: ${{ secrets.DEBUG_SECRET_KEY }} | |
| run: | | |
| echo $DEBUG_PASSWORD >> secrets.txt | |
| echo $DEBUG_SECRET_KEY >> secrets.txt | |
| - name: Run tmate | |
| uses: mxschmitt/action-tmate@v2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment