From 99b16a0bb5e8ecadaa708163d90051a0d15e4059 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Sat, 17 Feb 2024 19:20:10 -0600 Subject: [PATCH] (chore): deploy - add concurrence and only build latest (#1802) Co-authored-by: yammes08 <111231042+yammes08@users.noreply.github.com> --- .github/workflows/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 26494ed0d..439aa2d50 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,6 +7,9 @@ jobs: build: name: Build docs runs-on: ubuntu-latest + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true steps: - name: Checkout repository uses: actions/checkout@v4.1.1 @@ -44,6 +47,9 @@ jobs: runs-on: ubuntu-latest permissions: contents: write + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true steps: - name: Checkout repository uses: actions/checkout@v4.1.1