File tree 4 files changed +13
-8
lines changed
4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
- name : Bygg og deploy dev
1
+ name : Bygg og deploy pages
2
2
3
3
on :
4
4
push :
25
25
- name : Build notebooks
26
26
env :
27
27
INPUT_SALT : ${{ secrets.INPUT_SALT }}
28
- run : clojure -X:buildnotebooks
28
+ run : make build-clerk
29
+
30
+ - name : Build clay
31
+ env :
32
+ INPUT_SALT : ${{ secrets.INPUT_SALT }}
33
+ run : make build-clay
29
34
30
35
# Optional step:
31
36
- name : Cache clojure dependencies
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ default: build
4
4
help : # Show help for each of the Makefile recipes.
5
5
@grep -E ' ^[a-zA-Z0-9 -]+:.*#' Makefile | sort | while read -r l; do printf " \033[1;32m$$ (echo $$ l | cut -f 1 -d':')\033[00m:$$ (echo $$ l | cut -f 2- -d'#')\n" ; done
6
6
7
- .PHONY : build-notebook
8
- build-notebook : # Build jar-file
9
- clj -X:buildnotebooks
7
+ .PHONY : build-clerk
8
+ build-clerk : # Build clerk notebook
9
+ clj -X:buildclerk
10
10
11
11
.PHONY : build-clay
12
- build-clay : # Build jar-file
12
+ build-clay : # Build clay notebook
13
13
clj -X:buildclay
14
14
15
15
.PHONY : deps-list
Original file line number Diff line number Diff line change 39
39
:update {:deps {com.github.liquidz/antq {:mvn/version " RELEASE" }}
40
40
:main-opts [" -m" " antq.core" " --check-clojure-tools" " true" " --upgrade" " true" ]}
41
41
42
- :buildnotebooks {:exec-fn clerk/build-notebooks!}
42
+ :buildclerk {:exec-fn clerk/build-notebooks!}
43
43
:buildclay {:exec-fn clay/build-notebooks!}
44
44
:test ; ; added by neil
45
45
{:extra-paths [" test" ]
Original file line number Diff line number Diff line change 11
11
(mapv str (filter File/.isFile (tree-seq File/.isDirectory File/.listFiles (File. " notebooks" ))))
12
12
" src/index.clj" )
13
13
:title " Advent of Code"
14
- :base-target-path " _clay "
14
+ :base-target-path " _site/new/ "
15
15
:hide-ui-header true
16
16
:show false
17
17
:live-reload false
You can’t perform that action at this time.
0 commit comments