File tree Expand file tree Collapse file tree 8 files changed +820
-2
lines changed
Expand file tree Collapse file tree 8 files changed +820
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Landing Page
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ concurrency :
15+ group : landing-page-release
16+ cancel-in-progress : true
17+
18+ jobs :
19+ validate :
20+ name : Validate Static Site
21+ runs-on : ubuntu-latest
22+
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v6
26+
27+ - name : Ensure publish files exist
28+ run : |
29+ test -f public/index.html
30+ test -f public/404.html
31+ test -f public/styles.css
32+ test -f public/CNAME
33+ test -f public/.nojekyll
34+
35+ deploy :
36+ name : Deploy GitHub Pages
37+ needs : validate
38+ runs-on : ubuntu-latest
39+ environment :
40+ name : github-pages
41+ url : ${{ steps.deployment.outputs.page_url }}
42+
43+ steps :
44+ - name : Checkout
45+ uses : actions/checkout@v6
46+
47+ - name : Configure GitHub Pages
48+ uses : actions/configure-pages@v6
49+
50+ - name : Upload Pages artifact
51+ uses : actions/upload-pages-artifact@v4
52+ with :
53+ path : public
54+
55+ - name : Deploy to GitHub Pages
56+ id : deployment
57+ uses : actions/deploy-pages@v5
Original file line number Diff line number Diff line change 1+ # ## macOS
2+ # Finder metadata
3+ .DS_Store
4+
5+ # Thumbnails
6+ ._ *
7+
8+ # Custom folder icons
9+ Icon
10+
11+ # Volume root files
12+ .DocumentRevisions-V100
13+ .fseventsd
14+ .Spotlight-V100
15+ .TemporaryItems
16+ .Trashes
17+ .VolumeIcon.icns
18+ .com.apple.timemachine.donotpresent
19+
20+ # ## Windows
21+ # Windows thumbnail cache files
22+ Thumbs.db
23+
24+ # Folder config file
25+ [Dd ]esktop.ini
26+
27+ # Recycle Bin used on file shares
28+ $RECYCLE.BIN /
29+
30+ # Windows shortcuts
31+ * .lnk
32+
33+ # ## Linux
34+ # Backup files
35+ * ~
36+
37+ # Temporary files from deleted open files
38+ .fuse_hidden *
39+
40+ # KDE directory preferences
41+ .directory
42+
43+ # Linux trash folder
44+ .Trash- *
45+
46+ # NFS temporary files
47+ .nfs *
48+
49+ # ## JetBrains
50+ # JetBrains IDE directory
51+ .idea /
52+
53+ # CMake build directories
54+ cmake-build- * /
55+
56+ # File-based project format
57+ * .iws
58+ * .iml
59+
60+ # IntelliJ build output
61+ out /
62+
63+ # ## VisualStudio
64+ # User-specific files
65+ * .suo
66+ * .user
67+
68+ # Build results
69+ [Dd ]ebug /
70+ [Rr ]elease /
71+ x64 /
72+ x86 /
73+ [Ww ][Ii ][Nn ]32 /
74+ [Aa ][Rr ][Mm ]/
75+ [Aa ][Rr ][Mm ]64 /
76+ [Bb ]in /
77+ [Oo ]bj /
78+
79+ # Visual Studio cache/options directory
80+ .vs /
81+
82+ # MSTest test Results
83+ [Tt ]est [Rr ]esult * /
84+ [Bb ]uild [Ll ]og. *
85+
86+ # NuGet
87+ * .nupkg
88+ ** /[Pp ]ackages /*
89+ ! ** /[Pp ]ackages /build /
90+ * .nuget.props
91+ * .nuget.targets
92+
93+ # Publish Web Output
94+ * . [Pp ]ublish.xml
95+
96+ # ## VS Code
97+ # VSCode settings (keep shared configuration)
98+ .vscode /*
99+ ! .vscode /settings.json
100+ ! .vscode /tasks.json
101+ ! .vscode /launch.json
102+ ! .vscode /extensions.json
103+
104+ # Local History for Visual Studio Code
105+ .history /
106+
107+ # Built Visual Studio Code Extensions
108+ * .vsix
109+
110+ # ## Node
111+ # Dependencies
112+ node_modules /
113+
114+ # Logs
115+ * .log
116+
117+ # Runtime data
118+ * .pid
119+ * .pid.lock
120+
121+ # Coverage
122+ coverage /
123+ * .lcov
124+ .nyc_output
125+
126+ # Build output
127+ dist /
128+ build /Release
129+
130+ # TypeScript cache
131+ * .tsbuildinfo
132+
133+ # Framework build output and caches
134+ .cache
135+ .parcel-cache
136+ .next
137+ out /
138+ .nuxt
139+
140+ # dotenv environment variable files
141+ .env
142+ .env.local
143+ .env. * .local
144+
145+ # npm cache directory
146+ .npm
147+ * .tgz
148+
149+ # yarn v2
150+ .yarn /cache
151+ .yarn /unplugged
152+ .yarn /install-state.gz
153+ .pnp. *
Original file line number Diff line number Diff line change 1- # PrompterOne-LandingPage
2- LandingPage for PrompterOne
1+ # PrompterOne Landing Page
2+
3+ Public landing site for ` prompter.one ` .
4+
5+ ## Structure
6+
7+ - ` public/ ` contains the static site artifact published to GitHub Pages
8+ - ` .github/workflows/deploy-github-pages.yml ` deploys the ` public/ ` directory to the custom domain
9+
10+ ## Domain Split
11+
12+ - ` prompter.one ` serves this landing site
13+ - ` app.prompter.one ` serves the standalone PrompterOne app from the main ` managedcode/PrompterOne ` repository
Original file line number Diff line number Diff line change 1+
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < meta http-equiv ="refresh " content ="0; url=/ ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
7+ < title > PrompterOne</ title >
8+ </ head >
9+ < body >
10+ < p > Redirecting to < a href ="/ "> PrompterOne</ a > ...</ p >
11+ </ body >
12+ </ html >
Original file line number Diff line number Diff line change 1+ prompter.one
You can’t perform that action at this time.
0 commit comments