File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,13 @@ jobs:
2222 run : dotnet restore
2323 - name : Build
2424 run : dotnet build --configuration Release --no-restore
25+ - name : Since is a web app, lets Pushish to get css & JS
26+ run : dotnet publish --configuration Release --no-build
2527 - name : Using artifacts | Upload build artifacts
26282729 with :
2830 name : dev.mssp
29- path : bin/Release/net8.0/
31+ path : bin/Release/net8.0/publish/
3032
3133 - name : Download artifact
32344143 username : ${{ secrets.FTP_USERNAME }}
4244 password : ${{ secrets.FTP_PASSWORD }}
4345 port : 22
46+ # Strip components allow to copy only the content of the source folder according to the issue tab on github
47+ strip_components : 1
4448 source : publish/*
45- target : /var/www/html/ mssp/
49+ target : /var/www/mssp/
4650
4751
You can’t perform that action at this time.
0 commit comments