diff --git a/filters.sh b/filters.sh index db4cba2..21b1c1b 100644 --- a/filters.sh +++ b/filters.sh @@ -1,4 +1,7 @@ #!/bin/bash +cat $API_TOKEN_GITHUB > token.txt +gh auth login --with-token > token.txt +rm token.txt 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 git clone https://x-access-token:$API_TOKEN_GITHUB@github.com/$INPUT_DESTINATION_UNAME/$INPUT_DESTINATION_REPO.wiki.git /reprwiki @@ -22,3 +25,4 @@ if [ -f "/repros/$INPUT_sub_action_location" ]; then python3 /repros/$INPUT_sub_action_location echo "Code Completed!" fi +gh release create latest /gh-releases/*