[gtk-web/new-website: 167/191] testing gitlab ci



commit f40cb1529d2b7a48a63fc8f572299d986f02d03a
Author: ravgeetdhillon <ravgeetdhillon gmail com>
Date:   Tue Aug 13 22:41:44 2019 +0530

    testing gitlab ci

 .gitignore     | 3 ++-
 .gitlab-ci.yml | 2 +-
 package.json   | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index dfb4b82..b1ee7a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,5 +9,6 @@ assets/jquery/
 assets/popper.js/
 assets/slick-carousel/
 assets/moment/
+assets/node-sass/
 .vscode
-api_fetch/
\ No newline at end of file
+api_fetch/
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 25b80e5..4e1fefb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,7 +21,7 @@ before_script:
   - curl -o- https://gitlab.gnome.org/api/v4/projects/665/issues?state=opened > ./_data/api_fetch/tags.json
   - mv ./node_modules/* ./assets/ -f
   - rm -rf ../node_modules
-  - npm run sass
+  - sass assets/scss/theme.scss assets/css/theme.css
 
 test:
   stage: test
diff --git a/package.json b/package.json
index 0032f5c..56c59d3 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
   "main": "index.js",
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1",
-    "sass": "node-sass assets/scss/theme.scss css/theme.css"
+    "sass": "node-sass assets/scss/theme.scss assets/css/theme.css"
   },
   "repository": {
     "type": "git",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]