From 2b928778e8eb44fe0c109d47f4d0ab56531a63ac Mon Sep 17 00:00:00 2001 From: Bartosz Gadomski Date: Wed, 15 Jan 2025 20:36:14 +0100 Subject: [PATCH] revert some of the temporary, debug-related changes and let the pipeline to push --- .github/workflows/deploy-to-stream-dist.yml | 27 +++++++++------------ 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/deploy-to-stream-dist.yml b/.github/workflows/deploy-to-stream-dist.yml index e8c8e62b1..a094e5c7b 100644 --- a/.github/workflows/deploy-to-stream-dist.yml +++ b/.github/workflows/deploy-to-stream-dist.yml @@ -8,11 +8,11 @@ on: - fix/build-process jobs: -# lint_and_test: -# uses: ./.github/workflows/lint-and-test.yml + lint_and_test: + uses: ./.github/workflows/lint-and-test.yml deploy_to_stream_dist: -# needs: lint_and_test + needs: lint_and_test name: Deploy to xwp/stream-dist runs-on: ubuntu-22.04 permissions: @@ -114,19 +114,16 @@ jobs: # Use the release bundle as the work tree. export GIT_WORK_TREE="$SRC_DIR" - # TMP - TESTING. - git status + git add --all + git commit --allow-empty --message "$COMMIT_MESSAGE" -# git add --all -# git commit --allow-empty --message "$COMMIT_MESSAGE" - -# if [ "${{ github.event_name }}" = "release" ]; then -# echo "Tagging a release: $DIST_TAG" -# git tag --force "$DIST_TAG" -# git push --force --tags origin "$DIST_BRANCH" -# else -# git push --force origin "$DIST_BRANCH" -# fi + if [ "${{ github.event_name }}" = "release" ]; then + echo "Tagging a release: $DIST_TAG" + git tag --force "$DIST_TAG" + git push --force --tags origin "$DIST_BRANCH" + else + git push --force origin "$DIST_BRANCH" + fi env: DIST_DIR: ${{ env.DIST_DIR }} DIST_BRANCH: ${{ env.DIST_BRANCH }}