Skip to content

Commit

Permalink
removed failing continuous deployment #14
Browse files Browse the repository at this point in the history
  • Loading branch information
undergroundwires committed Jun 29, 2020
1 parent 52d5713 commit 583c566
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/bump-and-release.yaml
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.
2 changes: 1 addition & 1 deletion docs/gitops.drawio

Large diffs are not rendered by default.

Binary file modified docs/gitops.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 583c566

Please sign in to comment.