Skip to content

Commit

Permalink
add concurrency, push once to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
trhallam authored Sep 10, 2024
1 parent 1784e93 commit 5484232
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/mkdocs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ jobs:
hatch run docs:build-examples
hatch run docs:cli-snippets
hatch run docs:cff-snippets
hatch run docs:mike deploy --update-aliases --push $MKDOCS_VERSION $MIKE_ALIAS
# hatch run docs:mike deploy --update-aliases --push $MKDOCS_VERSION $MIKE_ALIAS
hatch run docs:mike deploy --update-aliases $MKDOCS_VERSION $MIKE_ALIAS
echo "BADGE_MSG=pass" >> $GITHUB_ENV
echo "BADGE_COLOUR=green" >> $GITHUB_ENV
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/python-build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
release:
types: [released]

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
build-test:
name: Build and test segysak
Expand Down

0 comments on commit 5484232

Please sign in to comment.