Skip to content

Commit 97bfc8c

Browse files
committed
Separate repo assets and static files
1 parent ea3b1ab commit 97bfc8c

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
name: CI
44

5-
# Controls when the action will run.
5+
# Controls when the action will run.
66
on:
77
# Triggers the workflow on push or pull request events but only for the main branch
88
push:
9-
branches: [ main ]
9+
branches: [main]
1010
pull_request:
11-
branches: [ main ]
11+
branches: [main]
1212

1313
# Allows you to run this workflow manually from the Actions tab
1414
workflow_dispatch:
@@ -29,15 +29,15 @@ jobs:
2929
uses: actions/[email protected]
3030
with:
3131
node-version: 12.x
32-
32+
3333
# Install deps
3434
- run: yarn --frozen-lockfile
35-
35+
3636
# Build
3737
- run: yarn run build:prod
38-
38+
3939
# Upload artifact
40-
- run: mkdir pkg && cp manifest.json pkg && cp -r build pkg && cp -r css pkg
40+
- run: mkdir pkg && cp manifest.json pkg && cp -r build pkg && cp -r static pkg
4141
- uses: actions/upload-artifact@v2
4242
with:
4343
name: watch-and-learn

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,4 @@ dist
104104
.tern-port
105105

106106
/build
107+
/pkg

manifest.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"name": "Watch and Learn",
33
"version": "1.0",
4+
"icons": {
5+
"128": "static/icon128.png"
6+
},
47
"description": "A chrome extension to make learn videos better using video.js",
58
"manifest_version": 2,
69
"content_scripts": [
@@ -12,7 +15,7 @@
1215
"build/main.js"
1316
],
1417
"css": [
15-
"css/video-js.css"
18+
"static/video-js.css"
1619
]
1720
}
1821
]
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)