diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index fdcc2b80..eb337d9b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -5,9 +5,9 @@ name: .NET Enterprise Applications on: push: - branches: [ "master" ] + branches: [ "master", "developer" ] pull_request: - branches: [ "master" ] + branches: [ "master", "developer" ] jobs: build: @@ -15,12 +15,12 @@ jobs: runs-on: ubuntu-latest env: - ASPNETCORE_ENVIRONMENT: Production - SqlServer_Container_Name: SqlServer - RabbitMQ_Container_Name: rabbit-nerdstore - SEU_SERVIDOR: SqlServer - SENHA_BANCO_DE_DADOS: 9#KtGwPz$@6mJ^F - CONNECTION_STRING: Server=localhost,1433;Database=NerdStoreEnterprise;User=SA;Password="9#KtGwPz$@6mJ^F" + ASPNETCORE_ENVIRONMENT: ${{ secrets.ASPNETCORE_ENVIRONMENT }} + SqlServer_Container_Name: ${{ secrets.SqlServer_Container_Name }} + RabbitMQ_Container_Name: ${{ secrets.RabbitMQ_Container_Name }} + SEU_SERVIDOR: ${{ secrets.SEU_SERVIDOR }} + SENHA_BANCO_DE_DADOS: ${{ secrets.SENHA_BANCO_DE_DADOS }} + CONNECTION_STRING: ${{ secrets.CONNECTION_STRING }} steps: - uses: actions/checkout@v3