Skip to content

Commit

Permalink
fix release trigger running more than once
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Mulhall committed Oct 13, 2022
1 parent fa77993 commit fa2a97e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update_docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Generate and deploy documentation on GH pages

# update on releases or when triggered manually(must have write access)
on: [release, workflow_dispatch]

on:
release:
types: [published]
workflow_dispatch:
jobs:
update_docs:
runs-on: ubuntu-latest
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
on: release
on:
release:
types: [published]
jobs:
add-dev-to-version:
runs-on: ubuntu-latest
Expand All @@ -13,3 +15,6 @@ jobs:
branch: add-dev-post-release # name of the created branch
branch-suffix: timestamp # add a timestamp to branch name
delete-branch: true # delete afer merge
title: Append dev to version number post-release
body: automated change, adds '-dev' to the version number upon releases
reviewers: rem1776

0 comments on commit fa2a97e

Please sign in to comment.