Updated build script to generate a secrets.yml