Update 'filters.sh'

This commit is contained in:
Kale 2021-08-21 08:04:25 -07:00
parent edad04f71f
commit 990b7a0329
No known key found for this signature in database
GPG Key ID: F8A6CE83F1274467

View File

@ -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/*