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 15
15
steps :
16
16
- name : Checkout
17
17
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
18
21
- name : Generate with _just
19
22
uses : js-just/_just@main
20
23
with :
Original file line number Diff line number Diff line change 22
22
23
23
#! /bin/bash
24
24
mkdir -p test
25
- CONFIG=$( cat " tests/compress.js" )
26
- HTML=$( cat " website/index.html" )
27
25
rm -f " just.config.js"
28
26
rm -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 22
22
23
23
#! /bin/bash
24
24
mkdir -p test
25
- CONFIG=$( cat " tests/docs.js" )
26
- MARKDOWN=$( cat " tests/docs.md" )
27
25
rm -f " just.config.js"
28
26
rm -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 22
22
23
23
#! /bin/bash
24
24
mkdir -p test
25
- CONFIG=$( cat " tests/redirect.js" )
26
25
rm -f " just.config.js"
27
26
rm -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