#Escape Scaffolder template variables

1 messages · Page 1 of 1 (latest)

royal star
#

Hey everyone, I'm using Backstage's fetch:template action and running into a problem with my GitHub Actions workflow file.

​ I'm trying to use GitHub environment variables with the syntax ${{ secrets.inputVariable }}. However, the Backstage template is overwriting these with an empty value instead of keeping the exact text.

(I have other files which should replace such placeholder texts. But I don't want that to happen in this github actions workflow file.)

​ Does anyone know how to prevent this and get Backstage to preserve the ${{ secrets.inputVariable }} syntax?

​ Any help would be greatly appreciated!

royal star
#

copyWithoutTemplating worked - to ignore the entire file.

#

Is there an option to skip specific items alone?

round spoke