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
2+ name : Deploy docs folder to Pages
3+
4+ on :
5+ # Runs on pushes targeting the default branch (only when docs/ changes)
6+ push :
7+ branches : ["main"]
8+ paths :
9+ - ' docs/**'
10+
11+ # Allows you to run this workflow manually from the Actions tab
12+ workflow_dispatch :
13+
14+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15+ permissions :
16+ contents : read
17+ pages : write
18+ id-token : write
19+
20+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
22+ concurrency :
23+ group : " pages"
24+ cancel-in-progress : false
25+
26+ jobs :
27+ # Single deploy job since we're just deploying
28+ deploy :
29+ environment :
30+ name : github-pages
31+ url : ${{ steps.deployment.outputs.page_url }}
32+ runs-on : ubuntu-latest
33+ steps :
34+ - name : Checkout
35+ uses : actions/checkout@v4
36+ - name : Setup Pages
37+ uses : actions/configure-pages@v5
38+ - name : Upload artifact
39+ uses : actions/upload-pages-artifact@v3
40+ with :
41+ # Upload docs directory
42+ path : ' ./docs'
43+ - name : Deploy to GitHub Pages
44+ id : deployment
45+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ final class AuthenticationService {
8787 . slidingSyncVersionBuilder ( . discoverNative)
8888 . autoEnableCrossSigning ( true )
8989 . autoEnableBackups ( true )
90+ . userAgent ( " Relay " )
9091 . setSessionDelegate ( sessionDelegate)
9192 }
9293
@@ -199,7 +200,7 @@ final class AuthenticationService {
199200 clientName: " Relay " ,
200201 redirectUri: Self . oauthRedirectURI,
201202 clientUri: " https://github.com/subpop/Relay " ,
202- logoUri: nil ,
203+ logoUri: " https://subpop.github.io/Relay/logo-256.png " ,
203204 tosUri: nil ,
204205 policyUri: nil ,
205206 staticRegistrations: [ : ]
You can’t perform that action at this time.
0 commit comments