Skip to content

Commit 3ae9e5b

Browse files
author
Ritika Mishra
committed
added debug logs
1 parent aefaa45 commit 3ae9e5b

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,33 @@ jobs:
7777
${{ runner.os }}-nextjs-${{ hashFiles('*/package-lock.json', '*/yarn.lock') }}-
7878
- name: Install dependencies
7979
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
80+
- name: CI debug — pre-build environment & public files
81+
run: |
82+
echo "--- CI ENV ---"
83+
echo "USER: $(whoami)"
84+
echo "PWD: $(pwd)"
85+
node -v || true
86+
npm -v || true
87+
echo "--- list public/ ---"
88+
if [ -d public ]; then ls -la public || true; else echo "no public dir"; fi
89+
echo "--- show public/manifest.json if present ---"
90+
if [ -f public/manifest.json ]; then echo "MANIFEST START"; cat public/manifest.json; echo "MANIFEST END"; else echo "public/manifest.json not found"; fi
91+
echo "--- package.json scripts ---"
92+
node -e "console.log(JSON.stringify(require('./package.json').scripts, null, 2))" || cat package.json
8093
- name: Install ts-node
8194
run: npm install -g ts-node
8295
- name: Run manifest generation script
8396
run: ts-node scripts/generateManifest.mjs
8497
- name: Build with Next.js
8598
run: ${{ steps.detect-package-manager.outputs.runner }} next build
99+
- name: CI debug — post-build artifact inspection
100+
run: |
101+
echo "--- build finished; listing top-level dirs ---"
102+
ls -la || true
103+
echo "--- look for manifest.json in repo ---"
104+
find . -type f -name "manifest.json" -print -exec ls -la {} \; || true
105+
echo "--- list out/ (if exported) ---"
106+
if [ -d out ]; then echo "out exists:"; find out -maxdepth 3 -type f -print | sed -n '1,200p'; else echo "no out dir"; fi
86107
- name: Upload artifact
87108
uses: actions/upload-pages-artifact@v3
88109
with:

public/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"start_url": ".",
55
"display": "standalone",
66
"icons": [
7-
{ "src": "chords-logo-192x192.png", "sizes": "192x192", "type": "image/png" },
8-
{ "src": "chords-logo-512x512.png", "sizes": "512x512", "type": "image/png" }
7+
{ "src": "/Chords-Web/chords-logo-192x192.png", "sizes": "192x192", "type": "image/png" },
8+
{ "src": "/Chords-Web/chords-logo-512x512.png", "sizes": "512x512", "type": "image/png" }
99
],
1010
"screenshots": [
11-
{ "src": "screenshot-chords.png", "sizes": "1280x720", "type": "image/png", "form_factor": "wide" }
11+
{ "src": "/Chords-Web/screenshot-chords.png", "sizes": "1280x720", "type": "image/png", "form_factor": "wide" }
1212
]
1313
}

src/components/LandingComp/HeadSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ c 1.4089684,-1.39202 2.8179419,-2.78405 4.4681851,-4.13231 1.6502432,-1.34827 3.
103103
</path>
104104

105105
{/* <!-- Sweeping Vertical Line matching background color --> */}
106-
<line x1="0" y1="0" x2="0" y2="200" className="stroke-background" strokeWidth="10" transform="translateZ(0)">
106+
<line x1="0" y1="0" x2="0" y2="200" className="stroke-background" strokeWidth="10" transform="translate(0,0)">
107107
<animateTransform
108108
attributeName="transform"
109109
type="translate"

0 commit comments

Comments
 (0)