Update develop-workflow.yml
This commit is contained in:
parent
3186be06e3
commit
7c586a1c41
1 changed files with 4 additions and 4 deletions
8
.github/workflows/develop-workflow.yml
vendored
8
.github/workflows/develop-workflow.yml
vendored
|
|
@ -2,7 +2,7 @@ name: Nightly Workflow
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ['!release/**']
|
branches: ['develop', '!release/**']
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ 'develop', '!release/**' ]
|
branches: [ 'develop', '!release/**' ]
|
||||||
types: [ closed, synchronize ]
|
types: [ closed, synchronize ]
|
||||||
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
name: Upload Kavita.Common for Version Bump
|
name: Upload Kavita.Common for Version Bump
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event.pull_request.merged == true && !contains(github.head_ref, 'release')
|
if: github.event.pull_request.merged == true && ( github.event.pull_request.head.ref == 'develop' || !contains(github.event.pull_request.head.ref, 'release') )
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
name: Bump version
|
name: Bump version
|
||||||
needs: [ build ]
|
needs: [ build ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event.pull_request.merged == true && !contains(github.head_ref, 'release')
|
if: github.event.pull_request.merged == true && ( github.event.pull_request.head.ref == 'develop' || !contains(github.event.pull_request.head.ref, 'release') )
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -59,7 +59,7 @@ jobs:
|
||||||
name: Build Nightly Docker
|
name: Build Nightly Docker
|
||||||
needs: [ build, version ]
|
needs: [ build, version ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event.pull_request.merged == true && !contains(github.head_ref, 'release')
|
if: github.event.pull_request.merged == true && ( github.event.pull_request.head.ref == 'develop' || !contains(github.event.pull_request.head.ref, 'release') )
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
contents: read
|
contents: read
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue