From 8230c2cae3f5a9419cfcf7e5e99c42abd1e2d323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Krzemin=CC=81ski?= Date: Fri, 20 Sep 2024 11:29:07 +0200 Subject: [PATCH] Improve fail fast behaviour --- .github/workflows/deploy-to-stream-dist.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy-to-stream-dist.yml b/.github/workflows/deploy-to-stream-dist.yml index 05a37192e..ae5149be5 100644 --- a/.github/workflows/deploy-to-stream-dist.yml +++ b/.github/workflows/deploy-to-stream-dist.yml @@ -36,6 +36,8 @@ jobs: - name: Sync files locally run: | + set -ex + rm -rf "$SRC_DIR" rm -rf "$DIST_DIR" @@ -60,6 +62,8 @@ jobs: - name: Deploy to xwp/stream-dist run: | + set -ex + export GIT_DIR="$DIST_DIR/.git" export GIT_WORK_TREE="$DIST_DIR"