Skip to content

Commit bbcdc7a

Browse files
committed
allow workflow dispatch
1 parent 6f85c89 commit bbcdc7a

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/webpack.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
8+
workflow_dispatch:
89

910
jobs:
1011
build:
@@ -23,8 +24,7 @@ jobs:
2324
node-version: ${{ matrix.node-version }}
2425

2526
- name: Provision NPM
26-
run: |
27-
npm install
27+
run: npm install
2828

2929
- name: Create Webpacks
3030
run: |
@@ -33,13 +33,7 @@ jobs:
3333
npx webpack --config ./webpack-script.cjs --mode production --no-output-clean
3434
3535
- name: Show Results
36-
run: |
37-
ls -l .
36+
run: ls -l .
3837

39-
- name: Provision
40-
run: |
41-
mkdir ./serve
42-
cp ./dist/script/* ./serve
43-
4438

4539

0 commit comments

Comments
 (0)