Deb setup
ci/woodpecker/tag/devel Pipeline was successful Details
ci/woodpecker/tag/master Pipeline failed Details

This commit is contained in:
Mike Nolan 2024-08-10 13:40:36 -05:00
parent fe83c39604
commit ffb6d1910a
2 changed files with 5 additions and 4 deletions

View File

@ -82,8 +82,8 @@ async Task UsersCallback(UsersOptions options)
{
if(!string.IsNullOrWhiteSpace(prefs.Session))
{
await clt.Users.SetCookieAsync(prefs.Session);
await clt.Users.LogoutAsync();
// await clt.Users.SetCookieAsync(prefs.Session);
//await clt.Users.LogoutAsync();
}
prefs.Session = cookie.Cookie;
prefs.Save();
@ -99,8 +99,8 @@ async Task UsersCallback(UsersOptions options)
}
using(var clt = new TessesCMSClient(prefs.Url))
{
await clt.Users.SetCookieAsync(prefs.Session);
await clt.Users.LogoutAsync();
// await clt.Users.SetCookieAsync(prefs.Session);
// await clt.Users.LogoutAsync();
prefs.Session="";
prefs.Save();
}

View File

@ -1,4 +1,5 @@
#!/bin/bash
export PATH=/root/.dotnet/tools:$PATH
dotnet tool install --global dotnet-deb
. /deploy_dir/setpath.sh
ln -s "$DEPLOY_DIR" publish