Skip to content

Commit

Permalink
allow workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhiggs committed Jul 17, 2024
1 parent 6f85c89 commit bbcdc7a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
build:
Expand All @@ -23,8 +24,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Provision NPM
run: |
npm install
run: npm install

- name: Create Webpacks
run: |
Expand All @@ -33,13 +33,7 @@ jobs:
npx webpack --config ./webpack-script.cjs --mode production --no-output-clean
- name: Show Results
run: |
ls -l .
run: ls -l .

- name: Provision
run: |
mkdir ./serve
cp ./dist/script/* ./serve


0 comments on commit bbcdc7a

Please sign in to comment.