File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Simple workflow for deploying static content to GitHub Pages
21name : Deploy static content to Pages
32
43on :
5- # Runs on pushes targeting the default branch
64 push :
7- # branches: ["main"]
8- branches : ["**"]
5+ tags :
6+ - " * "
97
108 # Allows you to run this workflow manually from the Actions tab
119 workflow_dispatch :
1210
13- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1411permissions :
1512 contents : read
1613 pages : write
1714 id-token : write
1815
19- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
20- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2116concurrency :
2217 group : " pages"
2318 cancel-in-progress : false
2419
2520jobs :
26- # Single deploy job since we're just deploying
2721 deploy :
2822 environment :
2923 name : github-pages
Original file line number Diff line number Diff line change @@ -31,15 +31,12 @@ export class SettingTab extends PluginSettingTab {
3131 const { containerEl } = this ;
3232 containerEl . empty ( ) ;
3333
34- if ( this . plugin . settings . did ) {
34+ if ( this . plugin . client . loggedIn ) {
3535 const displayName = this . plugin . client . actor ?. handle || this . plugin . settings . did ;
3636
3737 new Setting ( containerEl )
38- . setName ( "Logged in" )
39- . setDesc ( displayName ) ;
40-
41- new Setting ( containerEl )
42- . setName ( "Log out" )
38+ . setName ( "Logged in as @" + displayName )
39+ . setDesc ( this . plugin . client . actor ?. did as string || "" )
4340 . addButton ( ( button ) =>
4441 button
4542 . setButtonText ( "Log out" )
You can’t perform that action at this time.
0 commit comments