From 97b8106c3c357da19890ef5ea45917234e806910 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 1 Feb 2021 21:34:28 +0700 Subject: Reorganize the CSS build process. --- .github/workflows/main.yml | 5 ----- Makefile | 3 ++- templates/main.html | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c70cbc5..c0f5453 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,11 +47,6 @@ jobs: run: | make all - - name: Build CSS - run: | - mkdir -p build/css/ - sass -I sass/ sass/main.sass > build/css/main.css - - name: Deploy to Netlify env: NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }} diff --git a/Makefile b/Makefile index d42bf43..3b51010 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ site: .PHONY: css css: - sass -I sass/ sass/main.sass > build/css/main.css + mkdir -p build/ + sass -I sass/ sass/main.sass > build/main.css all: site css diff --git a/templates/main.html b/templates/main.html index 4ab8a4d..a7be405 100644 --- a/templates/main.html +++ b/templates/main.html @@ -11,7 +11,7 @@ - + -- cgit v1.2.3