diff options
| author | EuAndreh <eu@euandre.org> | 2021-03-23 10:54:19 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-03-23 10:54:19 -0300 |
| commit | 0a855b0b2c6d8d752ecb2cb11a144b8dde307d91 (patch) | |
| tree | db08c741aacaf890dec7d474b00b1ada028c94b3 /sh | |
| parent | aux/workflow/public.sh: Mark as executable (diff) | |
| download | dotfiles-0a855b0b2c6d8d752ecb2cb11a144b8dde307d91.tar.gz dotfiles-0a855b0b2c6d8d752ecb2cb11a144b8dde307d91.tar.xz | |
fake-symlinks: aux/ci/ci-build.sh: Run build target before tests, so we have HTML files when tests fail
Diffstat (limited to 'sh')
| -rwxr-xr-x | sh/templates/aux/ci/ci-build.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sh/templates/aux/ci/ci-build.sh b/sh/templates/aux/ci/ci-build.sh index 45e4075c..21788f47 100755 --- a/sh/templates/aux/ci/ci-build.sh +++ b/sh/templates/aux/ci/ci-build.sh @@ -25,12 +25,6 @@ EOF git notes --ref=refs/notes/ci-logs add -f -F "$LOGFILE" git notes append -m "$NOTE" - cd - - if [ -f ./aux/ci/report.sh ]; then - sh aux/ci/report.sh "$PACKAGE" - rsync -a public/ "/srv/http/$PACKAGE/" - fi - printf "\n>>>\n>>> CI logs added as Git note.\n>>>\n>>> Run status was %s" "$STATUS" } trap finish EXIT @@ -50,7 +44,7 @@ EOF RUNNER='sh -c' fi - $RUNNER 'make clean dev-check public' + $RUNNER 'make clean public dev-check' rsync -a public/ "/srv/http/$PACKAGE/" --delete } 2>&1 | tee "$LOGFILE" |
