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 d037c26 commit 867fd5f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:


jobs:
setup:
Build_Test_Deploy:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -28,10 +28,10 @@ jobs:
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
if: github.event_name != 'pull_request'
uses: rasmusbuchholdt/simply-web-deploy@2.1.0
- uses: ChristopheLav/iis-deploy@v1
with:
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'
msdeploy-service-url: ${{ secrets.SERVER_COMPUTER_NAME }}
msdeploy-username: ${{ secrets.SERVER_USERNAME }}
msdeploy-password: ${{ secrets.SERVER_PASSWORD }}
source-path: ${{ github.workspace }}HamSpecialEvent\HamSpecialEvent\publish\

0 comments on commit 867fd5f

Please sign in to comment.