diff options
author | Daniil Baturin <daniil@baturin.org> | 2021-02-01 21:34:28 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2021-02-01 21:34:28 +0700 |
commit | 97b8106c3c357da19890ef5ea45917234e806910 (patch) | |
tree | 276b495d252dfee66b54325bde68d662c10cfc2e | |
parent | 85bd37371f15c9153532ecf1f5e4be9be8e7c194 (diff) | |
download | community.vyos.net-97b8106c3c357da19890ef5ea45917234e806910.tar.gz community.vyos.net-97b8106c3c357da19890ef5ea45917234e806910.zip |
Reorganize the CSS build process.
-rw-r--r-- | .github/workflows/main.yml | 5 | ||||
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | 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 }} @@ -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>
|