From 598b87196af0ab78cbde7e36915c560a766d41cd Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 8 Oct 2021 09:23:29 -0500 Subject: [PATCH] fix(ci): Restore serialization of site deployment When removing `concurrency`, I overlooked this case where we want to serialize deployments. Queuing deployments also doesn't give us much. I switched from using an action for this to using built-in support. --- .github/workflows/site.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 8861e244..a673ef27 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -3,15 +3,14 @@ on: push: branches: [master] paths: ["site/**"] +concurrency: + group: site + cancel-in-progress: true jobs: site: name: Deploy site runs-on: ubuntu-latest steps: - - name: Cancel previous builds - uses: styfle/cancel-workflow-action@0.9.0 - with: - access_token: ${{ github.token }} - name: Checkout uses: actions/checkout@v2 - name: Build