-
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed failing continuous deployment #14
- Loading branch information
1 parent
52d5713
commit 583c566
Showing
3 changed files
with
3 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,18 @@ | ||
name: Bump & release | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
branches: | ||
- master | ||
push: # Ensure a new release is created for each new tag | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+' | ||
|
||
jobs: | ||
bump-version-and-release: | ||
if: > # Push => Ensure only changes from master. PR => to not trigger when closing PR without merging | ||
(github.event_name == 'push' && github.event.base_ref == 'refs/heads/master') | ||
|| github.event.pull_request.merged == true | ||
if: github.event.base_ref == 'refs/heads/master' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
uses: undergroundwires/bump-everywhere@master | ||
with: | ||
user: undergroundwires-bot | ||
release-token: ${{secrets.BUMP_GITHUB_PAT}} # Does not trigger release pipeline if we use default token: https://github.community/t5/GitHub-Actions/Github-Action-trigger-on-release-not-working-if-releases-was/td-p/34559 | ||
# GitHub does not inject secrets if pipeline runs from fork or a fork is merged to main repo. |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.