diff --git a/.github/workflows/build-commerce-webapp-push-tag-shared.yaml b/.github/workflows/build-commerce-webapp-push-tag-shared.yaml index ff5a3a7..9a3f1e7 100644 --- a/.github/workflows/build-commerce-webapp-push-tag-shared.yaml +++ b/.github/workflows/build-commerce-webapp-push-tag-shared.yaml @@ -5,6 +5,10 @@ on: tags: - '*.*.*-staging' - '*.*.*' + workflow_run: + workflows: ["Create Staging Tag"] + types: + - completed jobs: docker: diff --git a/.github/workflows/staging-create-tag.yaml b/.github/workflows/staging-create-tag.yaml index ec01380..1bf0409 100644 --- a/.github/workflows/staging-create-tag.yaml +++ b/.github/workflows/staging-create-tag.yaml @@ -53,5 +53,5 @@ jobs: - name: Create and push new tag run: | new_tag=${{ steps.increment_tag.outputs.new_tag }} - git tag -a "$new_tag" -m "" - git push --tags \ No newline at end of file + git tag "$new_tag" + git push origin "$new_tag" \ No newline at end of file