Skip to content

Commit

Permalink
reverting last change mostly, but taking paper out of the build targe…
Browse files Browse the repository at this point in the history
…t for `all`.
  • Loading branch information
orthecreedence committed Mar 28, 2024
1 parent c295fdd commit 1672e12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/www.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Setup deps
run: pnpm i
- name: Build
run: make dist
run: make
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
Expand Down
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all dist paper clean watch
.PHONY: all paper clean watch

SRC := www
BUILD := dist
Expand All @@ -7,9 +7,7 @@ allwww := $(shell find $(SRC) -type f)
allsrc := main.js $(shell find plugins/)
papersrc := $(shell find ../paper/src/ -type f)

all: dist $(SRC)/paper.html

dist: $(BUILD)/index.html
all: $(BUILD)/index.html

$(BUILD)/index.html: $(allsrc) $(allwww) tailwind.config.js postcss.config.js
SRC=$(SRC) DEST=$(BUILD) URL='http://www.basis.loc' node main
Expand Down

0 comments on commit 1672e12

Please sign in to comment.