File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed
Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1515 steps :
1616 - name : Checkout
1717 uses : actions/checkout@v4
18+ - name : Prepare
19+ run : rm -f "website/index.html" && cp "website/test.md" "website/index.md" && rm -f "website/test.md"
20+ shell : bash
1821 - name : Generate with _just
1922 uses : js-just/_just@main
2023 with :
Original file line number Diff line number Diff line change 2222
2323#! /bin/bash
2424mkdir -p test
25- CONFIG=$( cat " tests/compress.js" )
26- HTML=$( cat " website/index.html" )
2725rm -f " just.config.js"
2826rm -r " website"
29- echo " $CONFIG " > " just.config.js"
30- echo " $HTML " > " test/index.html"
27+ cp " tests/compress.js " " just.config.js"
28+ cp " website/index.html " " test/index.html"
Original file line number Diff line number Diff line change 2222
2323#! /bin/bash
2424mkdir -p test
25- CONFIG=$( cat " tests/docs.js" )
26- MARKDOWN=$( cat " tests/docs.md" )
2725rm -f " just.config.js"
2826rm -r " website"
29- echo " $CONFIG " > " just.config.js"
30- echo " $MARKDOWN " > " test/index.md"
27+ cp " tests/docs.js " " just.config.js"
28+ cp " tests/docs.md " " test/index.md"
Original file line number Diff line number Diff line change 2222
2323#! /bin/bash
2424mkdir -p test
25- CONFIG=$( cat " tests/redirect.js" )
2625rm -f " just.config.js"
2726rm -r " website"
28- echo " $CONFIG " > " just.config.js"
27+ cp " tests/redirect.js " " just.config.js"
You can’t perform that action at this time.
0 commit comments