mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix: manual-build-pro-image.yml
This commit is contained in:
parent
b11066434e
commit
8076e55fc1
3
.github/workflows/manual-build-pro-image.yml
vendored
3
.github/workflows/manual-build-pro-image.yml
vendored
@ -9,6 +9,7 @@ on:
|
|||||||
inputs:
|
inputs:
|
||||||
pr_number:
|
pr_number:
|
||||||
description: 'Please enter a pull request number'
|
description: 'Please enter a pull request number'
|
||||||
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
@ -30,7 +31,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: nocobase/pro-plugins
|
repository: nocobase/pro-plugins
|
||||||
path: packages/pro-plugins
|
path: packages/pro-plugins
|
||||||
ref: ${{ inputs.pr_number && 'refs/pull/' + inputs.pr_number + '/head' || 'main' }}
|
ref: ${{ inputs.pr_number != 'main' && 'refs/pull/' + inputs.pr_number + '/head' || 'main' }}
|
||||||
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
||||||
- name: rm .git
|
- name: rm .git
|
||||||
run: rm -rf packages/pro-plugins/.git && git config --global user.email "you@example.com" && git config --global user.name "Your Name" && git add -A && git commit -m "tmp commit"
|
run: rm -rf packages/pro-plugins/.git && git config --global user.email "you@example.com" && git config --global user.name "Your Name" && git add -A && git commit -m "tmp commit"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user