Skip to content

Commit 02f849c

Browse files
committed
Make use of secret
1 parent 244ee7a commit 02f849c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121

2222
- name: Deploy
2323
run: |
2424
echo "Deploying to ${{ inputs.environment }} environment"
25-
echo "${{ vars.MESSAGE }}"
25+
echo "Here's our message environment variable: :${{ vars.MESSAGE }}"
26+
echo "This is our API_KEY (it won't be logged for security reasons, but we can prove that it's there and that we can access it): ${{ secrets.API_KEY }}"

0 commit comments

Comments
 (0)