Skip to content

Commit f5346ca

Browse files
committed
update build
1 parent c18f147 commit f5346ca

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/deploy-node.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Deploy Node.js Website
33
on:
44
push:
55
branches:
6-
- website
6+
- main
7+
- master
78
paths:
89
- 'website_node/**'
910
- '.github/workflows/deploy-node.yml'
@@ -43,10 +44,6 @@ jobs:
4344
- name: Install dependencies
4445
working-directory: ./website_node
4546
run: npm ci
46-
47-
- name: Build static site
48-
working-directory: ./website_node
49-
run: npm run build
5047

5148
- name: Upload artifact
5249
uses: actions/upload-pages-artifact@v3

website_node/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
"scripts": {
77
"start": "node server.js",
88
"dev": "nodemon server.js",
9-
"build": "echo 'No build step configured; using files in public/'",
10-
"copy-assets": "node scripts/copy-assets.js",
119
"test": "echo \"Error: no test specified\" && exit 1"
1210
},
1311
"keywords": [

0 commit comments

Comments
 (0)