Skip to content

Commit

Permalink
Update dotnet.yml – Change env to Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderNekr authored Oct 25, 2023
1 parent c1045e1 commit 0acd4f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:
run: dotnet restore ChessTourManager.WEB/ChessTourManager.WEB.csproj
- name: Add connection string
run: set ASPNETCORE_ConnectionStrings__DefaultConnection="${{ secrets.CONN_STR }}"
- name: Set Dev env
run: set ASPNETCORE_ENVIRONMENT=Development
- name: Publish
run: dotnet publish -c Release --output /publish/ ChessTourManager.WEB/ChessTourManager.WEB.csproj --no-restore
run: dotnet publish -c Debug --output /publish/ ChessTourManager.WEB/ChessTourManager.WEB.csproj --no-restore
- name: 📂 Deploy to FTP server
uses: SamKirkland/[email protected]
with:
Expand Down

0 comments on commit 0acd4f6

Please sign in to comment.