[gtk-web/new-website: 154/180] updated gitlab ci



commit b6ca3340f779e7bd4c55389f3c574cacb7ce3bd1
Author: ravgeetdhillon <ravgeetdhillon gmail com>
Date:   Tue Aug 13 21:50:04 2019 +0530

    updated gitlab ci

 .gitlab-ci.yml          | 10 +++++-----
 scripts/get-api-data.sh |  6 ++++--
 scripts/structurize.sh  |  2 ++
 3 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b79025d..7508a2c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,11 +38,6 @@ npm:
     paths:
     - node_modules
 
-sass:
-  stage: generation
-  script: 
-  - chmod +x ./scripts/compile-sass.sh | bash
-
 structure:
   stage: structuring
   script: 
@@ -50,6 +45,11 @@ structure:
   - dir
   - chmod +x ./scripts/structurize.sh | bash
 
+sass:
+  stage: generation
+  script: 
+  - chmod +x ./scripts/compile-sass.sh | bash
+
 test:
   stage: test
   script:
diff --git a/scripts/get-api-data.sh b/scripts/get-api-data.sh
index 523c0c3..fadda7b 100644
--- a/scripts/get-api-data.sh
+++ b/scripts/get-api-data.sh
@@ -1,6 +1,6 @@
 echo 'creating directory for storing api results...'
 
-mkdir ../api_fetch
+mkdir ../_data/api_fetch
 
 echo 'getting the api data from the gitlab...'
 
@@ -18,4 +18,6 @@ echo 'successfully fetched gtk-issue-statistics'
 
 curl https://gitlab.gnome.org/api/v4/projects/665/issues?state=opened > ../_data/api_fetch/tags.json
 
-echo 'successfully fetched gtk-issues'
\ No newline at end of file
+echo 'successfully fetched gtk-issues'
+
+ls ../_data/api_fetch
\ No newline at end of file
diff --git a/scripts/structurize.sh b/scripts/structurize.sh
index 97001e1..4171bea 100644
--- a/scripts/structurize.sh
+++ b/scripts/structurize.sh
@@ -1,5 +1,7 @@
 echo 'structurizing the website...'
 
+ls ../node_modules
+
 mv ../node_modules/* ../assets/ -f
 
 rm -rf ../node_modules
\ No newline at end of file


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