Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions .github/workflows/deploy-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,25 +63,21 @@ jobs:
run: |
pnpm build:extension

- name: Copy files to prod directory
run: |
cd apps/extension
mkdir -p prod
cp manifest.json prod/
cp service-worker.js prod/
cp .env.production prod/
cp -r public/* prod/
cp -r dist/* prod/

- name: Create zip file
run: |
cd apps/extension
zip -r prod/extension.zip prod/
# 필요한 파일들만 포함하여 zip 생성
zip -r extension.zip \
manifest.json \
service-worker.js \
.env.production \
dist/ \
public/ \

- name: Upload & release
uses: mnao305/chrome-extension-upload@v5.0.0
with:
file-path: apps/extension/prod/extension.zip
file-path: apps/extension/extension.zip
extension-id: ${{ secrets.EXTENSION_ID }}
client-id: ${{ secrets.CLIENT_ID }}
client-secret: ${{ secrets.CLIENT_SECRET }}
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
},
"host_permissions": ["https://linkyboard.nebula-ai.kr/*", "http://localhost:3000/*"],
"icons": {
"128": "icon128.png"
"128": "public/icon128.png"
}
}
Loading