File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy to GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ workflow_dispatch :
7
+
8
+ permissions :
9
+ contents : read
10
+ pages : write
11
+ id-token : write
12
+
13
+ jobs :
14
+ build :
15
+ if : ${{ github.repository_owner == 'multitheftauto' }}
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Checkout your repository using git
19
+ uses : actions/checkout@v4
20
+ - name : Install, build, and upload your site
21
+ uses : withastro/action@v3
22
+ with :
23
+ path : docs
24
+
25
+ deploy :
26
+ needs : build
27
+ runs-on : ubuntu-latest
28
+ environment :
29
+ name : github-pages
30
+ url : ${{ steps.deployment.outputs.page_url }}
31
+ steps :
32
+ - name : Deploy to GitHub Pages
33
+ id : deployment
34
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -5,9 +5,11 @@ import mtasaStartlightThemePlugin from 'starlight-theme-mtasa'
5
5
6
6
// https://astro.build/config
7
7
export default defineConfig ( {
8
+ site : 'https://multitheftauto.github.io' ,
9
+ base : 'starlight-theme-mtasa' ,
8
10
integrations : [
9
11
starlight ( {
10
- title : 'Multi Theft Auto' ,
12
+ title : 'Multi Theft Auto: Theme ' ,
11
13
plugins : [ mtasaStartlightThemePlugin ( ) ] ,
12
14
social : {
13
15
github : 'https://github.com/withastro/starlight' ,
You can’t perform that action at this time.
0 commit comments