[gtk-web/new-website: 155/180] testing gitlab ci



commit 4fdda736e778eba3495d67ddee0610c2a669fa87
Author: ravgeetdhillon <ravgeetdhillon gmail com>
Date:   Tue Aug 13 22:15:35 2019 +0530

    testing gitlab ci

 .gitlab-ci.yml | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7508a2c..c6e4f61 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,12 +14,11 @@ stages:
 api_data:
   stage: installation
   script:
-  - pwd
-  - ls
-  - cd ./scripts
-  - ls
-  - cd ..
-  - chmod +x ./scripts/get-api-data.sh | bash
+  - mkdir ./_data/api_fetch
+  - curl -o- https://gitlab.gnome.org/api/v4/projects/665/repository/tags?order_by=name > 
./_data/api_fetch/tags.json
+  - curl -o- https://api.rss2json.com/v1/api.json?rss_url=https%3A%2F%2Fblog.gtk.org%2Ffeed%2F > 
./_data/api_fetch/gtk-blog-feed.json
+  - curl -o- https://gitlab.gnome.org/api/v4/projects/665/issues_statistics > 
./_data/api_fetch/issues_stats.json
+  - curl -o- https://gitlab.gnome.org/api/v4/projects/665/issues?state=opened > ./_data/api_fetch/tags.json
   artifacts:
     paths:
     - _data/api_fetch
@@ -40,15 +39,14 @@ npm:
 
 structure:
   stage: structuring
-  script: 
-  - pwd
-  - dir
-  - chmod +x ./scripts/structurize.sh | bash
+  script:
+  - mv ./node_modules/* ./assets/ -f
+  - rm -rf ../node_modules
 
 sass:
   stage: generation
   script: 
-  - chmod +x ./scripts/compile-sass.sh | bash
+  - npm run sass
 
 test:
   stage: test
@@ -72,4 +70,4 @@ pages:
     paths:
     - public
   only:
-  - master
\ No newline at end of file
+  - master


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