Skip to content

Commit 7f828c5

Browse files
committed
add gh actions
1 parent 93f0dc1 commit 7f828c5

File tree

4 files changed

+73
-2
lines changed

4 files changed

+73
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Deploy Eleventy site to 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+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
defaults:
18+
run:
19+
shell: bash
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
28+
- name: Setup Node.js
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: '18'
32+
cache: 'npm'
33+
34+
- name: Install dependencies
35+
run: npm ci
36+
37+
- name: Build with Eleventy
38+
run: npm run build
39+
40+
- name: Upload artifact
41+
uses: actions/upload-pages-artifact@v3
42+
with:
43+
path: ./_site
44+
45+
deploy:
46+
environment:
47+
name: github-pages
48+
url: ${{ steps.deployment.outputs.page_url }}
49+
runs-on: ubuntu-latest
50+
needs: build
51+
steps:
52+
- name: Deploy to GitHub Pages
53+
id: deployment
54+
uses: actions/deploy-pages@v4

src/.well-known/security.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Contact: sgnl://signal.me/#p/+16786080428
1+
Contact: https://github.com/codeGROOVE-dev/vulnerability-reports
2+
EmergencyContact: sgnl://signal.me/#p/+16786080428
23
Expires: 2025-12-31T23:59:59.000Z
34
Acknowledgments: https://codegroove.dev/security
45
Preferred-Languages: en

src/css/main.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/* Font Faces */
2+
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
3+
24
@font-face {
35
font-family: "Ojuju";
46
src: url("/media/fonts/Ojuju-VariableFont_wght.ttf") format("truetype-variations");
@@ -35,6 +37,7 @@
3537

3638
--font-primary: "Ojuju", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
3739
--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
40+
--font-cards: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
3841

3942
--max-width: 1200px;
4043
--max-width-narrow: 800px;
@@ -373,6 +376,18 @@ a:hover {
373376
transform: translateY(-8px) rotate(-1deg);
374377
}
375378

379+
.card h3 {
380+
font-family: var(--font-cards);
381+
font-weight: 600;
382+
letter-spacing: -0.02em;
383+
}
384+
385+
.highlight-box h3 {
386+
font-family: var(--font-cards);
387+
font-weight: 600;
388+
letter-spacing: -0.02em;
389+
}
390+
376391
.feature-grid {
377392
display: grid;
378393
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

src/security.njk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ description: Security is at the core of everything we do at codeGROOVE.
2020
<div class="card text-center" style="margin-bottom: 3rem;">
2121
<h2>Responsible Disclosure</h2>
2222
<p style="margin: 1.5rem 0;">Found a security issue? We appreciate responsible disclosure.</p>
23-
<p><strong>Signal:</strong> <code style="background: var(--color-gray-light); padding: 0.5rem 1rem; border-radius: 4px;">sgnl://signal.me/#p/+16786080428</code></p>
23+
<p><strong>Report at:</strong> <a href="https://github.com/codeGROOVE-dev/vulnerability-reports" style="color: var(--color-secondary); font-weight: bold;">github.com/codeGROOVE-dev/vulnerability-reports</a></p>
24+
<p><strong>Emergency Contact:</strong> <code style="background: var(--color-gray-light); padding: 0.5rem 1rem; border-radius: 4px;">sgnl://signal.me/#p/+16786080428</code></p>
2425
<p style="margin-top: 1rem; color: var(--color-gray);">Also available in <a href="/.well-known/security.txt">security.txt</a></p>
2526
</div>
2627

0 commit comments

Comments
 (0)