Skip to content

Commit 31f136f

Browse files
committed
Test deploy
1 parent ea5137d commit 31f136f

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

.github/workflows/static.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
- name: Upload artifact
3737
uses: actions/upload-pages-artifact@v3
3838
with:
39-
# Upload entire repository
40-
path: '.'
39+
# Upload only the docs folder
40+
path: 'docs'
4141
- name: Deploy to GitHub Pages
4242
id: deployment
4343
uses: actions/deploy-pages@v4
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
<body>
205205
<div class="container">
206206
<nav class="nav-header">
207-
<a href="../../index.html">
207+
<a href="index.html">
208208
<svg class="icon" viewBox="0 0 24 24">
209209
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
210210
<polyline points="9 22 9 12 15 12 15 22"/>
@@ -531,7 +531,7 @@ <h3>Diagnostic Tools</h3>
531531
</svg>
532532
GM APIs Reference
533533
</a>
534-
<a href="../../index.html" class="nav-btn">
534+
<a href="index.html" class="nav-btn">
535535
Documentation Home
536536
<svg class="icon" viewBox="0 0 24 24">
537537
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
<body>
227227
<div class="container">
228228
<nav class="nav-header">
229-
<a href="../../index.html">
229+
<a href="index.html">
230230
<svg class="icon" viewBox="0 0 24 24">
231231
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
232232
<polyline points="9 22 9 12 15 12 15 22"/>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
<body>
280280
<div class="container">
281281
<nav class="nav-header">
282-
<a href="../../index.html">
282+
<a href="index.html">
283283
<svg class="icon" viewBox="0 0 24 24">
284284
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
285285
<polyline points="9 22 9 12 15 12 15 22"/>

index.html renamed to docs/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ <h1>CodeTweak</h1>
252252
</header>
253253

254254
<section class="nav-grid">
255-
<a href="Website/docs/installation.html" class="nav-card">
255+
<a href="installation.html" class="nav-card">
256256
<h3>
257257
<svg class="icon" viewBox="0 0 24 24">
258258
<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/>
@@ -264,7 +264,7 @@ <h3>
264264
<p>Learn how to install CodeTweak and configure your development environment for userscript creation.</p>
265265
</a>
266266

267-
<a href="website/docs/editor.html" class="nav-card">
267+
<a href="editor.html" class="nav-card">
268268
<h3>
269269
<svg class="icon" viewBox="0 0 24 24">
270270
<polyline points="16 18 22 12 16 6"/>
@@ -275,7 +275,7 @@ <h3>
275275
<p>Learn to write powerful userscripts with practical examples, from basic DOM manipulation to advanced GM API techniques.</p>
276276
</a>
277277

278-
<a href="Website/docs/gm-apis.html" class="nav-card">
278+
<a href="gm-apis.html" class="nav-card">
279279
<h3>
280280
<svg class="icon" viewBox="0 0 24 24">
281281
<circle cx="12" cy="12" r="10"/>
@@ -289,7 +289,7 @@ <h3>
289289
<p>Complete reference for all Greasemonkey APIs with practical examples and best practices.</p>
290290
</a>
291291

292-
<a href="Website/docs/advanced-features.html" class="nav-card">
292+
<a href="advanced-features.html" class="nav-card">
293293
<h3>
294294
<svg class="icon" viewBox="0 0 24 24">
295295
<circle cx="12" cy="12" r="3"/>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@
318318
<body>
319319
<div class="container">
320320
<nav class="nav-header">
321-
<a href="../../index.html">
321+
<a href="index.html">
322322
<svg class="icon" viewBox="0 0 24 24">
323323
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
324324
<polyline points="9 22 9 12 15 12 15 22"/>

0 commit comments

Comments
 (0)