Skip to content

Commit 6754098

Browse files
committed
fix: manifest.json icon 경로 수정
1 parent 7dc9872 commit 6754098

2 files changed

Lines changed: 9 additions & 13 deletions

File tree

.github/workflows/deploy-extension.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,25 +63,21 @@ jobs:
6363
run: |
6464
pnpm build:extension
6565
66-
- name: Copy files to prod directory
67-
run: |
68-
cd apps/extension
69-
mkdir -p prod
70-
cp manifest.json prod/
71-
cp service-worker.js prod/
72-
cp .env.production prod/
73-
cp -r public/* prod/
74-
cp -r dist/* prod/
75-
7666
- name: Create zip file
7767
run: |
7868
cd apps/extension
79-
zip -r prod/extension.zip prod/
69+
# 필요한 파일들만 포함하여 zip 생성
70+
zip -r extension.zip \
71+
manifest.json \
72+
service-worker.js \
73+
.env.production \
74+
dist/ \
75+
public/ \
8076
8177
- name: Upload & release
8278
uses: mnao305/chrome-extension-upload@v5.0.0
8379
with:
84-
file-path: apps/extension/prod/extension.zip
80+
file-path: apps/extension/extension.zip
8581
extension-id: ${{ secrets.EXTENSION_ID }}
8682
client-id: ${{ secrets.CLIENT_ID }}
8783
client-secret: ${{ secrets.CLIENT_SECRET }}

apps/extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
},
1616
"host_permissions": ["https://linkyboard.nebula-ai.kr/*", "http://localhost:3000/*"],
1717
"icons": {
18-
"128": "icon128.png"
18+
"128": "public/icon128.png"
1919
}
2020
}

0 commit comments

Comments
 (0)