Skip to content

Commit

Permalink
Update test_secret.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brokedba authored Jul 7, 2023
1 parent 344f3b4 commit e724b47
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/test_secret.yml
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
.
name: 'Terraform_oci_vcn'

on:
push:
branches: [ "git_actions" ]
paths:
- './github/workflow/test_secret.yml'
steps:
# Show how to print unmasked GitHub secrets to the console
- name: Step 1 - Echo out a GitHub Actions Secret to the logs
run: |
echo ${{ secrets.TEST_TOKEN }}
echo "Trick to echo GitHub Actions Secret: " # ==> this will show ******
echo ${{secrets.SECRET_TOKEN}} | sed 's/./& /g' # ===> this will show the real content with space 'M Y P a s s w o r d'

0 comments on commit e724b47

Please sign in to comment.