Skip to content

Commit 4cb513e

Browse files
committed
Fix workflow YAML: extract heredoc to file, enable Pages
1 parent e9ddd74 commit 4cb513e

2 files changed

Lines changed: 28 additions & 29 deletions

File tree

.github/workflows/build-pdfs.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -60,35 +60,7 @@ jobs:
6060
run: |
6161
mkdir -p _site
6262
cp output/*.pdf _site/
63-
cat > _site/index.html <<'HTMLEOF'
64-
<!DOCTYPE html>
65-
<html lang="en">
66-
<head>
67-
<meta charset="UTF-8">
68-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
69-
<title>NoMoreApply: Team Brochures</title>
70-
<style>
71-
body { font-family: system-ui, sans-serif; max-width: 600px; margin: 60px auto; padding: 0 20px; color: #1a1a2e; background: #f5f4ef; }
72-
h1 { font-size: 1.4rem; margin-bottom: 0.25rem; }
73-
p { color: #666677; margin-bottom: 2rem; }
74-
ul { list-style: none; padding: 0; }
75-
li { margin-bottom: 0.75rem; }
76-
a { color: #a0303a; text-decoration: none; font-weight: 500; }
77-
a:hover { text-decoration: underline; }
78-
</style>
79-
</head>
80-
<body>
81-
<h1>NoMoreApply</h1>
82-
<p>Engineering collective. Fractional and contract engagements.</p>
83-
<ul>
84-
<li><a href="team-brochure.pdf">Team Brochure</a></li>
85-
<li><a href="angel-aytov-profile.pdf">Angel Aytov: Profile</a></li>
86-
<li><a href="catalin-waack-profile.pdf">Catalin Waack: Profile</a></li>
87-
<li><a href="cosmin-poieana-profile.pdf">Cosmin Poieana: Profile</a></li>
88-
</ul>
89-
</body>
90-
</html>
91-
HTMLEOF
63+
cp scripts/index.html _site/index.html
9264
9365
- name: Upload Pages artifact
9466
uses: actions/upload-pages-artifact@v3

scripts/index.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>NoMoreApply: Team Brochures</title>
7+
<style>
8+
body { font-family: system-ui, sans-serif; max-width: 600px; margin: 60px auto; padding: 0 20px; color: #1a1a2e; background: #f5f4ef; }
9+
h1 { font-size: 1.4rem; margin-bottom: 0.25rem; }
10+
p { color: #666677; margin-bottom: 2rem; }
11+
ul { list-style: none; padding: 0; }
12+
li { margin-bottom: 0.75rem; }
13+
a { color: #a0303a; text-decoration: none; font-weight: 500; }
14+
a:hover { text-decoration: underline; }
15+
</style>
16+
</head>
17+
<body>
18+
<h1>NoMoreApply</h1>
19+
<p>Engineering collective. Fractional and contract engagements.</p>
20+
<ul>
21+
<li><a href="team-brochure.pdf">Team Brochure</a></li>
22+
<li><a href="angel-aytov-profile.pdf">Angel Aytov: Profile</a></li>
23+
<li><a href="catalin-waack-profile.pdf">Catalin Waack: Profile</a></li>
24+
<li><a href="cosmin-poieana-profile.pdf">Cosmin Poieana: Profile</a></li>
25+
</ul>
26+
</body>
27+
</html>

0 commit comments

Comments
 (0)