diff --git a/content/actions/using-workflows/workflow-commands-for-github-actions.md b/content/actions/using-workflows/workflow-commands-for-github-actions.md index ebfbe83aec..89b87fb260 100644 --- a/content/actions/using-workflows/workflow-commands-for-github-actions.md +++ b/content/actions/using-workflows/workflow-commands-for-github-actions.md @@ -498,12 +498,15 @@ on: push jobs: secret-generator: runs-on: ubuntu-latest + outputs: + handle: {% raw %}${{ steps.generate-secret.outputs.handle }}{% endraw %} steps: - uses: some/secret-store@v1 with:{% raw %} credentials: ${{ secrets.SECRET_STORE_CREDENTIALS }} instance: ${{ secrets.SECRET_STORE_INSTANCE }}{% endraw %} - name: generate secret + id: generate-secret shell: bash run: | GENERATED_SECRET=$((RANDOM))