Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
burningtree committed Oct 24, 2023
1 parent 4f025bf commit a737565
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,20 @@ jobs:
# - name: Build changelog
# run: make changelog


- uses: actions/setup-node@v3
with:
node-version: 20

- name: Install web dependencies
run: cd web && npm ci

- name: Build web frontend
run: make build-web

- name: Consolidate build
run: make consolidate

- name: Add custom domain
run: "touch output/CNAME && echo \"cd.ethevents.club\" >> output/CNAME"

Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
.PHONY: all build

all: test build build-web consolidate
all: test build-data

test:
deno test --unstable --allow-read utils/exec.js

build:
build-all: test build-data build-web consolidate

build-data:
deno run --unstable --allow-read --allow-write utils/exec.js build

build-web:
Expand Down

0 comments on commit a737565

Please sign in to comment.