From 2df46e0d6a93cfe69c7b19b07a2fd7362e396134 Mon Sep 17 00:00:00 2001 From: Lukas Trombach Date: Thu, 10 Oct 2024 21:44:52 +0200 Subject: [PATCH 1/2] use `contains` to check for production deployment --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3f18df7..7f40e09e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,7 @@ jobs: echo "id=$url" >> "$GITHUB_OUTPUT" echo "message=$message" >> "$GITHUB_OUTPUT" - uses: UnlyEd/github-action-await-vercel@v2 - if: ${{ steps.get-staging-id.outputs.id == 'Version Packages' }} + if: ${{ contains(steps.get-staging-id.outputs.id, 'Version Packages') }} env: VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} with: From 1797ce68f6e5374542533f837e544ffe3ef47c66 Mon Sep 17 00:00:00 2001 From: Lukas Date: Fri, 11 Oct 2024 08:45:24 +1300 Subject: [PATCH 2/2] chore: add changeset --- .changeset/friendly-spies-press.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/friendly-spies-press.md diff --git a/.changeset/friendly-spies-press.md b/.changeset/friendly-spies-press.md new file mode 100644 index 00000000..6584a391 --- /dev/null +++ b/.changeset/friendly-spies-press.md @@ -0,0 +1,5 @@ +--- +"homepage": patch +--- + +use `contains` to check for production deployment