File tree Expand file tree Collapse file tree 4 files changed +47
-3
lines changed Expand file tree Collapse file tree 4 files changed +47
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy to GitHub Pages on Release
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ permissions :
8
+ contents : read
9
+ pages : write
10
+ id-token : write
11
+
12
+ jobs :
13
+ deploy :
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Setup Node.js
21
+ uses : actions/setup-node@v4
22
+ with :
23
+ node-version : ' 20'
24
+ cache : ' npm'
25
+
26
+ - name : Install dependencies
27
+ run : npm install
28
+
29
+ - name : Build
30
+ run : npm run build
31
+
32
+ - name : Setup Pages
33
+ uses : actions/configure-pages@v5
34
+
35
+ - name : Upload artifact
36
+ uses : actions/upload-pages-artifact@v3
37
+ with :
38
+ path : ./dist
39
+
40
+ - name : Deploy to GitHub Pages
41
+ id : deployment
42
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import starlight from '@astrojs/starlight';
4
4
5
5
// https://astro.build/config
6
6
export default defineConfig ( {
7
+ site : 'https://flutter-news-app-full-source-code.github.io' ,
8
+ base : '/docs' ,
7
9
integrations : [
8
10
starlight ( {
9
11
title : 'Flutter News App Toolkit' ,
Original file line number Diff line number Diff line change 8
8
file : ../../assets/flutter-news-app-full-source-code-logo.png
9
9
actions :
10
10
- text : ' Get Started: Local Setup'
11
- link : /getting-started/
11
+ link : /docs/ getting-started/
12
12
icon : right-arrow
13
13
- text : ' View Live Demos'
14
14
link : ' #ecosystem'
@@ -106,7 +106,7 @@ Welcome to the Flutter News App Full Source Code Toolkit. This is more than just
106
106
machine. The trial license allows for a full evaluation of the project's
107
107
quality and features for 32 days.
108
108
<div style = { { marginTop: ' 1.5rem' }} >
109
- <LinkButton href = " /getting-started/" >Begin Local Setup</LinkButton >
109
+ <LinkButton href = " /docs/ getting-started/" >Begin Local Setup</LinkButton >
110
110
</div >
111
111
</Card >
112
112
<Card title = " Purchase a Lifetime License" icon = " rocket" >
Original file line number Diff line number Diff line change @@ -39,4 +39,4 @@ The mobile client comes packed with features designed to provide a comprehensive
39
39
40
40
To get the mobile client up and running on your local machine, head over to our setup guide.
41
41
42
- - ** [ Local Setup Guide] ( ./getting-started /local-setup ) **
42
+ - ** [ Local Setup Guide] ( ./mobile-client /local-setup ) **
You can’t perform that action at this time.
0 commit comments