Skip to content

Commit

Permalink
sync cache, add concurrency limits
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq committed Jun 27, 2023
1 parent 5a56df9 commit 8a52de9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on: [pull_request]
permissions:
pull-requests: write # allow surge-preview to create/update PR comments

concurrency:
group: 'preview'
cancel-in-progress: true

jobs:
preview:
runs-on: ubuntu-latest
Expand All @@ -17,7 +21,7 @@ jobs:
with:
path: _build
# NOTE: change key to "jupyterbook-DATE" to force rebuilding cache
key: jupyterbook-20230613
key: jupyterbook-20230626

- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v1
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/qaqc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

concurrency:
group: 'qaqc'
cancel-in-progress: true

jobs:
quality-control:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8a52de9

Please sign in to comment.