Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanbrudiu authored Jul 26, 2024
1 parent afc0ee6 commit e57979e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ jobs:
- name: Publish
run: dotnet publish HamEvent/HamEvent.csproj --configuration Release --framework net7.0 --output ./publish --runtime win-x64 --self-contained true -p:PublishTrimmed=false -p:PublishSingleFile=false
- name: Deploy
uses: azure/webapps-deploy@v2.2.10
uses: rasmusbuchholdt/simply-web-deploy@2.1.0
with:
app-name: example.com
publish-profile: ${{ secrets.PUBLISH_PROFILE_TEST }}
package: ./bin/Release/net6.0/publish
website-name: ${{ secrets.WEBSITE_NAME }}
server-computer-name: ${{ secrets.SERVER_COMPUTER_NAME }}
server-username: ${{ secrets.SERVER_USERNAME }}
server-password: ${{ secrets.SERVER_PASSWORD }}
skip-directory-path: '\\App_Data'

0 comments on commit e57979e

Please sign in to comment.