From bbcdc7af01a41e82f0973d8edce74e56e1a78b46 Mon Sep 17 00:00:00 2001 From: Paul Higgs Date: Thu, 18 Jul 2024 08:42:05 +0900 Subject: [PATCH] allow workflow dispatch --- .github/workflows/webpack.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml index 148a3ba..d3d8467 100644 --- a/.github/workflows/webpack.yml +++ b/.github/workflows/webpack.yml @@ -5,6 +5,7 @@ on: branches: [ "main" ] pull_request: branches: [ "main" ] + workflow_dispatch: jobs: build: @@ -23,8 +24,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Provision NPM - run: | - npm install + run: npm install - name: Create Webpacks run: | @@ -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 -