Skip to content

build fix

build fix #12

on:
push:
branches:
- main
name: variable substitution in json
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: microsoft/variable-substitution@v1
with:
files: 'OnlinePortfolioZB/OnlinePortfolioZB/appsettings.json'
env:
EmailSettings.SENDGRID_API_KEY: ${{secrets.SENDGRID_API_KEY}}
EmailSettings.SENDER_NAME: ${{secrets.FROM_EMAIL_NAME}}
EmailSettings.FROM_EMAIL: ${{secrets.FROM_EMAIL}}