mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 02:45:49 +02:00
fix(ci): no cache and enable run manually for branches.yml
This commit is contained in:
parent
43fb701425
commit
2a03eb7740
1 changed files with 2 additions and 2 deletions
4
.github/workflows/branches.yml
vendored
4
.github/workflows/branches.yml
vendored
|
@ -1,6 +1,7 @@
|
||||||
name: Synchronize Branches
|
name: Synchronize Branches
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'dev'
|
- 'dev'
|
||||||
|
@ -12,7 +13,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
weblate:
|
weblate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event.pull_request.merged == true || github.event.action == 'published'
|
if: github.event.pull_request.merged == true || github.event.action == 'published' || github.event_name == 'workflow_dispatch'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -21,7 +22,6 @@ jobs:
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
cache: pip
|
|
||||||
|
|
||||||
- name: Install wlc
|
- name: Install wlc
|
||||||
run: pip install wlc
|
run: pip install wlc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue