From 7572f0cb3d025752c94036eaca51d5025013b16e Mon Sep 17 00:00:00 2001 From: Niklas Mischkulnig <4586894+mischnic@users.noreply.github.com> Date: Fri, 5 Jan 2024 08:52:47 +0100 Subject: [PATCH 1/3] FIxup REPL CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3244ea8eea..838cfa66a8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -136,7 +136,7 @@ jobs: run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p; - run: yarn --frozen-lockfile - name: Download @parcel/rust Linux Binaries artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: Rust Linux Binaries path: packages/core/rust From b5f7a907e0c352cba6c4c68cb098e2247a3bf613 Mon Sep 17 00:00:00 2001 From: Niklas Mischkulnig <4586894+mischnic@users.noreply.github.com> Date: Fri, 5 Jan 2024 09:00:19 +0100 Subject: [PATCH 2/3] Upgrade bobheadxi/deployments --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 838cfa66a8b..da860aa2209 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -149,7 +149,7 @@ jobs: # name: REPL # path: 'packages/dev/repl/dist' - name: Start Deployment - uses: bobheadxi/deployments@v0.4.3 + uses: bobheadxi/deployments@v1 id: deployment with: step: start @@ -169,11 +169,12 @@ jobs: alias-domains: | pr-{{PR_NUMBER}}.repl.parceljs.org - name: Update Deployment Status - uses: bobheadxi/deployments@v0.4.3 + uses: bobheadxi/deployments@v1 if: always() with: step: finish token: ${{ secrets.GITHUB_TOKEN }} + env: ${{ steps.deployment.outputs.env }} status: ${{ job.status }} deployment_id: ${{ steps.deployment.outputs.deployment_id }} env_url: ${{ steps.vercel-action.outputs.preview-url }} From d7a90de840ce5dc2e3e5b979c8bd704b4c7a1539 Mon Sep 17 00:00:00 2001 From: Niklas Mischkulnig <4586894+mischnic@users.noreply.github.com> Date: Fri, 5 Jan 2024 10:34:07 +0100 Subject: [PATCH 3/3] Don't deactivate old deployments --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da860aa2209..8a4731a8cf0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,6 +156,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} ref: ${{ github.head_ref }} env: Preview + override: false - name: Deploy to Vercel uses: amondnet/vercel-action@v25 id: vercel-action @@ -175,6 +176,7 @@ jobs: step: finish token: ${{ secrets.GITHUB_TOKEN }} env: ${{ steps.deployment.outputs.env }} + override: false status: ${{ job.status }} deployment_id: ${{ steps.deployment.outputs.deployment_id }} env_url: ${{ steps.vercel-action.outputs.preview-url }}