Deb setup
This commit is contained in:
parent
fe83c39604
commit
ffb6d1910a
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue