Update workflow-commands-for-github-actions.md (#24924)
Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user