Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange, it didn't update any files and there were no errors #4

Open
marciusbezerra opened this issue Feb 6, 2024 · 1 comment
Open
Assignees

Comments

@marciusbezerra
Copy link

marciusbezerra commented Feb 6, 2024

I looked at the dates, the files still have the old dates, it's as if I hadn't updated anything, where were the files copied to?

If an error message occurred it would be easier

     # ... 
    - name: Publish
      run: dotnet publish ./MyApp/MyApp.csproj -c Release -o ./publish

    - uses: ChristopheLav/iis-deploy@v1
      with:
        website-name: ${{ secrets.SITE_NAME }} # this is my.app
        msdeploy-service-url: https://${{ secrets.SERVER_ADDRESS }}:8172 # this is a IP public
        msdeploy-username: ${{ secrets.USERNAME }} 
        msdeploy-password: ${{ secrets.PASSWORD }}
        source-path: ./publish

I also tried with...
source-path: ${{ github.workspace }}\publish

@ChristopheLav
Copy link
Owner

They are the Microsoft PowerShell scripts packed into a GitHub action for easy use. Errors are normally available into the output, but Web Deploy are not the best in this area.

Can you re-run your workflow with debug logging enabled ? Can you share the logs (remove the sensitive part depending of the content) ?

Also, have you check into the Web Deploy folder in the event view (navigate to Event Viewer -> Applications and Services Logs -> Microsoft -> Windows -> WebDeploy) on your server ? The Web Deploy service output some usefull logs here.

@ChristopheLav ChristopheLav self-assigned this Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants