hrmpf
This commit is contained in:
@ -4,6 +4,9 @@ inputs:
|
|||||||
repository:
|
repository:
|
||||||
description: 'Repository name with owner. For example, actions/checkout'
|
description: 'Repository name with owner. For example, actions/checkout'
|
||||||
default: ${{ github.repository }}
|
default: ${{ github.repository }}
|
||||||
|
server:
|
||||||
|
description: 'GIT Server to clone from'
|
||||||
|
default: git.netzkommune.de
|
||||||
token:
|
token:
|
||||||
description: >
|
description: >
|
||||||
Personal access token (PAT) used to fetch the repository. The PAT is configured
|
Personal access token (PAT) used to fetch the repository. The PAT is configured
|
||||||
@ -22,4 +25,4 @@ runs:
|
|||||||
pwd >> "$GITHUB_OUTPUT"
|
pwd >> "$GITHUB_OUTPUT"
|
||||||
ls -la >> "$GITHUB_OUTPUT"
|
ls -la >> "$GITHUB_OUTPUT"
|
||||||
env >> "$GITHUB_OUTPUT"
|
env >> "$GITHUB_OUTPUT"
|
||||||
git clone https://${GITHUB_ACTOR}:${{ inputs.token }}@${GITHUB_SERVER_URL}/${{ inputs.repository}}
|
git clone https://${GITHUB_ACTOR}:${{ inputs.token }}@${{ inputs.server }}/${{ inputs.repository}}
|
||||||
|
|||||||
Reference in New Issue
Block a user