~docbibi/memos

d99c910449b4173a10e7a463fe7047f89413eaf9 — Borjan Tchakaloff 4 months ago d295926
Compile into well-known `build` directory

And separate the static files by nesting them under `static`.
4 files changed, 4 insertions(+), 2 deletions(-)

M .build.yml
R readthememo.app/pico-1.5.10.classless.min.css => static/readthememo.app/pico-1.5.10.classless.min.css
R readthememo.app/pico-1.5.10.classless.min.css.map => static/readthememo.app/pico-1.5.10.classless.min.css.map
R readthememo.app/readthememo.css => static/readthememo.app/readthememo.css
M .build.yml => .build.yml +4 -2
@@ 8,8 8,10 @@ environment:
tasks:
- package: |
    cd $repo
    python src/compile.py memos/$site.toml > $site/index.html 
    cd $site
    mkdir -p build/$site
    cp -a static/$site build 2> /dev/null
    python src/compile.py memos/$site.toml > build/$site/index.html
    cd build/$site
    tar -cvz . > ~/site.tar.gz
- upload: |
    hut pages publish -d $site site.tar.gz

R readthememo.app/pico-1.5.10.classless.min.css => static/readthememo.app/pico-1.5.10.classless.min.css +0 -0
R readthememo.app/pico-1.5.10.classless.min.css.map => static/readthememo.app/pico-1.5.10.classless.min.css.map +0 -0
R readthememo.app/readthememo.css => static/readthememo.app/readthememo.css +0 -0