Skip to content

Commit

Permalink
Document the use of concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Feb 8, 2022
1 parent 223504c commit f160bcd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/neocities.yml
Expand Up @@ -10,6 +10,10 @@ env:
FORCE_COLOR: 2
node_version: lts/*

concurrency: # prevent concurrent deploys doing starnge things
group: deploy-to-neocities
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Expand Up @@ -11,6 +11,10 @@ env:
node_version: lts/*
FORCE_COLOR: 2

concurrency: # prevent concurrent releases
group: npm-bump
cancel-in-progress: true

jobs:
version_and_release:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -20,6 +20,10 @@ on:
branches:
- master

concurrency: # prevent concurrent deploys doing starnge things
group: deploy-to-neocities
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f160bcd

Please sign in to comment.