summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml5
-rw-r--r--Makefile3
-rw-r--r--templates/main.html2
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 @@
<link rel="mask-icon" href="/img/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
- <link rel="stylesheet" href="/css/main.css">
+ <link rel="stylesheet" href="/main.css">
</head>
<body>