mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 10:42:19 +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:
|
||||
pr_number:
|
||||
description: 'Please enter a pull request number'
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
@ -30,7 +31,7 @@ jobs:
|
||||
with:
|
||||
repository: nocobase/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 }}
|
||||
- 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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user