From 95b683d224f38425840ba17141a5e589d3501c41 Mon Sep 17 00:00:00 2001 From: Stavros Korokithakis Date: Fri, 27 Nov 2020 01:11:37 +0200 Subject: [PATCH] Streamline pipelines --- .gitlab-ci.yml | 29 +++++++++++-------- content/model-build-notes/_index.md | 2 +- ...ild-notes-for-the-ft-mighty-mini-arrow.md} | 2 +- 3 files changed, 19 insertions(+), 14 deletions(-) rename content/model-build-notes/{building-notes-for-the-ft-mighty-mini-arrow.md => build-notes-for-the-ft-mighty-mini-arrow.md} (98%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0cdae5..b921d9e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,19 @@ -build: +test: + image: python + stage: test + before_script: + - wget https://github.com/getzola/zola/releases/download/v0.12.2/zola-v0.12.2-x86_64-unknown-linux-gnu.tar.gz -O zola.tgz + - tar zxvf zola.tgz + - git clone https://github.com/getzola/book.git themes/book/ + script: + - ./zola build + artifacts: + paths: + - public + except: + - master + +pages: image: python stage: build before_script: @@ -10,15 +25,5 @@ build: artifacts: paths: - public - -pages: - stage: deploy - script: - - ls -lah public/ - dependencies: - - build - artifacts: - paths: - - public - only: + except: - master diff --git a/content/model-build-notes/_index.md b/content/model-build-notes/_index.md index ebe02c9..f497a6e 100644 --- a/content/model-build-notes/_index.md +++ b/content/model-build-notes/_index.md @@ -8,5 +8,5 @@ insert_anchor_links = "right" Click on a link in the list below to go to that page: -1. [Building notes for the FT Mighty Mini Arrow](../../model-build-notes/building-notes-for-the-ft-mighty-mini-arrow) +1. [Build notes for the FT Mighty Mini Arrow](../../model-build-notes/build-notes-for-the-ft-mighty-mini-arrow) 1. [Mini Drak build condensed instructions](../../model-build-notes/mini-drak-build-condensed-instructions) diff --git a/content/model-build-notes/building-notes-for-the-ft-mighty-mini-arrow.md b/content/model-build-notes/build-notes-for-the-ft-mighty-mini-arrow.md similarity index 98% rename from content/model-build-notes/building-notes-for-the-ft-mighty-mini-arrow.md rename to content/model-build-notes/build-notes-for-the-ft-mighty-mini-arrow.md index f914ed2..4c06bb8 100644 --- a/content/model-build-notes/building-notes-for-the-ft-mighty-mini-arrow.md +++ b/content/model-build-notes/build-notes-for-the-ft-mighty-mini-arrow.md @@ -1,5 +1,5 @@ +++ -title = "Building notes for the FT Mighty Mini Arrow" +title = "Build notes for the FT Mighty Mini Arrow" weight = 0 sort_by = "weight" insert_anchor_links = "right"