mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update docker-publish.yml
This commit is contained in:
8
.github/workflows/docker-publish.yml
vendored
8
.github/workflows/docker-publish.yml
vendored
@@ -32,12 +32,18 @@ jobs:
|
|||||||
# Using the following workaround because currently GitHub Actions
|
# Using the following workaround because currently GitHub Actions
|
||||||
# does not support logical AND/OR operations on triggers
|
# does not support logical AND/OR operations on triggers
|
||||||
# It's currently not possible to have `branches` under the `schedule` trigger
|
# It's currently not possible to have `branches` under the `schedule` trigger
|
||||||
- name: Checkout the release branch
|
- name: Checkout the release branch (on release)
|
||||||
if: ${{ github.event_name == 'release' }}
|
if: ${{ github.event_name == 'release' }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: "release"
|
ref: "release"
|
||||||
|
|
||||||
|
- name: Checkout the release branch (on push)
|
||||||
|
if: ${{ github.event_name == 'push' }}
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: "release"
|
||||||
|
|
||||||
- name: Checkout the staging branch
|
- name: Checkout the staging branch
|
||||||
if: ${{ github.event_name == 'schedule' }}
|
if: ${{ github.event_name == 'schedule' }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
Reference in New Issue
Block a user