diff --git a/action.yml b/action.yml index ca63693..037f2d5 100644 --- a/action.yml +++ b/action.yml @@ -4,6 +4,9 @@ inputs: repository: description: 'Repository name with owner. For example, actions/checkout' default: ${{ github.repository }} + server: + description: 'GIT Server to clone from' + default: git.netzkommune.de token: description: > Personal access token (PAT) used to fetch the repository. The PAT is configured @@ -22,4 +25,4 @@ runs: pwd >> "$GITHUB_OUTPUT" ls -la >> "$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}}