From b458781c036c6d36d42ebcba2ca9e3d60bdcc597 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Mon, 20 Jan 2020 22:06:28 -0700 Subject: [PATCH] Use bash instead of sh for pages build --- .gitlab-ci.yml | 5 +++-- cicd/pages-build.sh | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d40ea0..e80f5ee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,6 +43,7 @@ build: artifacts: paths: - dist/* + expire_in: 7 days build_flatpak: image: registry.gitlab.com/sumner/sublime-music/flatpak-build:latest @@ -65,8 +66,8 @@ pages: script: - ./cicd/pages-build.sh artifacts: - paths: - - public + paths: + - public deploy_pypi: image: python:3.6-alpine diff --git a/cicd/pages-build.sh b/cicd/pages-build.sh index e92a4c4..8c9b00b 100755 --- a/cicd/pages-build.sh +++ b/cicd/pages-build.sh @@ -1,4 +1,6 @@ -#! /bin/sh +#! /usr/bin/env bash + +set -xe pushd docs pipenv run make html