diff --git a/action.yml b/action.yml index fdd508d..722eeec 100644 --- a/action.yml +++ b/action.yml @@ -21,16 +21,16 @@ inputs: description: "Version on Destination etc. Pro , ucate , Hell" required: true ACTION_FILE: - description: 'action script for example look at action.example.py I'm calling this the Really Action Script' + description: "action script for example look at action.example.py I'm calling this the Really Action Script" required: true GIT_NAME: - description: 'Git Username' + description: "Git Username" required: true GIT_EMAIL: - description: 'Git E-mail' + description: "Git E-mail" required: true REPO_BRANCH: - description: 'Git Branch' + description: "Git Branch" required: true runs: diff --git a/filters.sh b/filters.sh index 37c1216..f91ce4b 100644 --- a/filters.sh +++ b/filters.sh @@ -1,9 +1,11 @@ #!/bin/bash git clone https://github.com/minoplhy/filters-maker /filters-maker git clone https://x-access-token:$API_TOKEN_GITHUB@github.com/$INPUT_DESTINATION_UNAME/$INPUT_DESTINATION_REPO.git /repros -mkdir /repros/$INPUT_DESTINATION_FOLDER/$INPUT_DESTINATION_VERSION +git clone https://x-access-token:$API_TOKEN_GITHUB@github.com/$INPUT_DESTINATION_UNAME/$INPUT_DESTINATION_REPO.wiki.git /reprwiki +mkdir /reprwiki/$INPUT_DESTINATION_FOLDER/ +mkdir /reprwiki/$INPUT_DESTINATION_FOLDER/$INPUT_DESTINATION_VERSION pip3 install -r /filters-maker/requirements.txt -cd /repros +cd /reprwiki python3 /repros/$INPUT_ACTION_FILE git config --local user.name $INPUT_GIT_NAME git config --local user.email $INPUT_GIT_EMAIL