-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Path: /integrations/cicd/githubactions
The documenation doesn't mention how to use the secrets once the integration is established. I can't seem to figure out how to use the secrets in github workflows.
I tried testing it like this:
name: Test Secret Workflow
on:
workflow_dispatch: # Manual trigger
jobs:
test-secret:
runs-on: ubuntu-latest
steps:
- name: Check Secret Value
run: |
# Mask the secret in logs by only showing length
echo "Secret length: ${#SECRET_VALUE}"
# Show first and last character only
echo "Secret starts with '${SECRET_VALUE:0:1}' and ends with '${SECRET_VALUE: -1}'"
env:
SECRET_VALUE: ${{ secrets.ghost_db_password }}



Metadata
Metadata
Assignees
Labels
No labels