Skip to content

Commit

Permalink
cd?
Browse files Browse the repository at this point in the history
  • Loading branch information
default-username-852 committed Jul 15, 2024
1 parent 6ee8680 commit 06e0514
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: NodeJS with Webpack
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
Expand All @@ -14,6 +12,10 @@ jobs:
matrix:
node-version: [22.x]

environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}

steps:
- uses: actions/checkout@v4

Expand All @@ -26,3 +28,11 @@ jobs:
run: |
npm install
npx webpack --mode=production
- name: Configure GitHub Pages
uses: actions/configure-pages@v3

- name: Upload GitHub Pages artifact
uses: actions/[email protected]
with:
path: dist

0 comments on commit 06e0514

Please sign in to comment.