Skip to content

Commit c6e90c6

Browse files
chore: update .gitignore to include landingpage.md and enhance release workflow by enabling automatic generation of release notes
1 parent fdd1380 commit c6e90c6

11 files changed

Lines changed: 1168 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Deploy GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "index.html"
8+
- "assets/**"
9+
- "pages/**"
10+
- ".github/workflows/pages.yml"
11+
workflow_dispatch:
12+
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
concurrency:
19+
group: pages
20+
cancel-in-progress: true
21+
22+
jobs:
23+
deploy:
24+
environment:
25+
name: github-pages
26+
url: ${{ steps.deployment.outputs.page_url }}
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
31+
- name: Stage static site
32+
run: |
33+
mkdir -p _site
34+
cp index.html _site/
35+
cp -r assets pages _site/
36+
touch _site/.nojekyll
37+
38+
- uses: actions/upload-pages-artifact@v3
39+
with:
40+
path: _site
41+
42+
- name: Deploy to GitHub Pages
43+
id: deployment
44+
uses: actions/deploy-pages@v4

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,7 @@ jobs:
583583
- name: Create GitHub Release (attach assets)
584584
uses: softprops/action-gh-release@v2
585585
with:
586+
generate_release_notes: true
586587
files: |
587588
artifacts/**/SentraCore_Setup_v*.exe
588589
artifacts/**/SentraCore_macOS_*.zip

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,3 +256,5 @@ design.md
256256
# Release
257257
release.md
258258

259+
# Pages
260+
landingpage.md

0 commit comments

Comments
 (0)