removed failing continuous deployment #14

This commit is contained in:
undergroundwires
2020-06-29 14:48:07 +01:00
parent 52d5713a99
commit 583c5660d6
3 changed files with 3 additions and 8 deletions

View File

@@ -1,19 +1,13 @@
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:
-
@@ -21,3 +15,4 @@ jobs:
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.