Updating workflows (#2344)

This commit is contained in:
Robbie Davis 2023-10-22 13:34:30 -04:00 committed by GitHub
parent 7a7f1240bc
commit 08d16218f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -1,17 +1,17 @@
name: Nightly Workflow
on:
push:
branches: '**'
pull_request:
types:
- closed
branches:
- develop
- '!release/**'
branches: [ develop, '!release/**' ]
types: [ closed ]
jobs:
build:
name: Upload Kavita.Common for Version Bump
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop') }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
@ -27,6 +27,7 @@ jobs:
name: Bump version
needs: [ build ]
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop') }}
steps:
- uses: actions/checkout@v3
with:
@ -48,6 +49,7 @@ jobs:
name: Build Nightly Docker
needs: [ build, version ]
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop') }}
permissions:
packages: write
contents: read

View File

@ -2,10 +2,8 @@ name: Release Workflow
on:
pull_request:
types:
- closed
branches:
- 'release/**'
branches: [ release/** ]
types: [ closed ]
jobs:
if_merged: