mirror of
https://github.com/minoplhy/filters-maker.git
synced 2024-12-22 18:18:13 +00:00
Merge branch 'main' of https://kylz.nl/git/Kale/filters-maker
This commit is contained in:
commit
bb59f4c232
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user