I would like to concatenate multiple secrets into my workflow action on GitHub.
The example that comes to mind would be to create a full path from folder to filename.
To concatenate secrets into a workflow action on GitHub:
${{ format('{0}/{1}.{2}', secrets.FOLDER, secrets.FILENAME, secrets.EXT) }}
Sources: https://docs.github.com/en/actions/learn-github-actions/expressions#format
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With