You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"You are a web developer creating a GitHub Pages site."> full_prompt.txt
6
+
echo"">> full_prompt.txt
7
+
echo"Here are the requirements:">> full_prompt.txt
8
+
echo"">> full_prompt.txt
9
+
cat docs/site-prompt.md >> full_prompt.txt
10
+
echo"">> full_prompt.txt
11
+
echo"Please generate a complete, production-ready index.html file following all requirements. Output ONLY the HTML code, no explanations or markdown code blocks.">> full_prompt.txt
Copy file name to clipboardExpand all lines: .github/workflows/generate-site.yml
+2-37Lines changed: 2 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ on:
7
7
paths:
8
8
- 'docs/site-prompt.md'
9
9
- '.github/workflows/generate-site.yml'
10
+
- '.github/scripts/generate-site.sh'
10
11
11
12
jobs:
12
13
generate:
@@ -18,46 +19,10 @@ jobs:
18
19
- name: Checkout code
19
20
uses: actions/checkout@v4
20
21
21
-
- name: Build prompt
22
-
run: |
23
-
echo "You are a web developer creating a GitHub Pages site." > full_prompt.txt
24
-
echo "" >> full_prompt.txt
25
-
echo "Here are the requirements:" >> full_prompt.txt
26
-
echo "" >> full_prompt.txt
27
-
cat docs/site-prompt.md >> full_prompt.txt
28
-
echo "" >> full_prompt.txt
29
-
echo "Please generate a complete, production-ready index.html file following all requirements. Output ONLY the HTML code, no explanations or markdown code blocks." >> full_prompt.txt
0 commit comments