aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-03-18 21:46:51 -0700
committerGitHub <[email protected]>2021-03-18 21:46:51 -0700
commit470f3d58c6ab0c0aa2c215f2534606baed79a0f9 (patch)
tree27edf464713139e265052590e2d767a455a276a5 /.github/workflows
parentMerge pull request #2 from Sgeo/patch-2 (diff)
downloadbook-470f3d58c6ab0c0aa2c215f2534606baed79a0f9.tar.xz
book-470f3d58c6ab0c0aa2c215f2534606baed79a0f9.zip
fix: deploys now get cancelled on new deploys
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 8781ba7..0944e58 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -7,6 +7,11 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
+ - name: Cancel Previous Runs
+ uses: styfle/[email protected]
+ with:
+ access_token: ${{ github.token }}
+
- name: Checkout 🛎️
uses: actions/[email protected]