del
This commit is contained in:
parent
c857300136
commit
7392017f48
@ -1,24 +0,0 @@
|
|||||||
name: Commit Files to Git
|
|
||||||
on:
|
|
||||||
workflow_call:
|
|
||||||
inputs:
|
|
||||||
files:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
message:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
branch:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
jobs:
|
|
||||||
CommitGit:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Commit
|
|
||||||
run: |
|
|
||||||
git config user.name "${{ vars.GIT_DEPLOY_NAME }}"
|
|
||||||
git config user.email "${{ vars.GIT_DEPLOY_MAIL }}"
|
|
||||||
git add ${{ inputs.files }}
|
|
||||||
git commit -m "${{ inputs.message }}"
|
|
||||||
git push origin HEAD:${{ inputs.branch }}
|
|
Loading…
Reference in New Issue
Block a user