1
0
mirror of synced 2025-12-22 19:34:15 -05:00

Update workflow-commands-for-github-actions.md (#24924)

Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com>
This commit is contained in:
Aaron Paterson
2023-10-24 06:29:06 -06:00
committed by GitHub
parent 1f8a45f3b6
commit b8db6e1798

View File

@@ -498,12 +498,15 @@ on: push
jobs: jobs:
secret-generator: secret-generator:
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs:
handle: {% raw %}${{ steps.generate-secret.outputs.handle }}{% endraw %}
steps: steps:
- uses: some/secret-store@v1 - uses: some/secret-store@v1
with:{% raw %} with:{% raw %}
credentials: ${{ secrets.SECRET_STORE_CREDENTIALS }} credentials: ${{ secrets.SECRET_STORE_CREDENTIALS }}
instance: ${{ secrets.SECRET_STORE_INSTANCE }}{% endraw %} instance: ${{ secrets.SECRET_STORE_INSTANCE }}{% endraw %}
- name: generate secret - name: generate secret
id: generate-secret
shell: bash shell: bash
run: | run: |
GENERATED_SECRET=$((RANDOM)) GENERATED_SECRET=$((RANDOM))