Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Accessing a secret from bash
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Nov 21, 2023
1 parent 87f4965 commit 6fb1d6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ jobs:
- uses: actions/checkout@v2
- name: Print secret
run: |
MY_SECRET="${{ secrets.MY_SECRET }}"
echo "MY_SECRET has length ${#MY_SECRET} and hash $(echo $MY_SECRET | md5sum)"

0 comments on commit 6fb1d6a

Please sign in to comment.