1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-14 02:24:04 +02:00

Finalize new peek action workflow

This commit is contained in:
Thomas Bui
2020-12-19 00:28:34 -08:00
parent f51bda7d29
commit 426d9507e3
2 changed files with 10 additions and 6 deletions

View File

@@ -9,9 +9,9 @@ from build_assets import filehandler, util
def main():
args = util.get_commandline_args()
new_icons = filehandler.find_new_icons(args.devicon_json_path, args.icomoon_json_path)
# if len(new_icons) == 0:
# print("No files need to be uploaded. Ending script...")
# return
if len(new_icons) == 0:
print("No files need to be uploaded. Ending script...")
return
# print list of new icons
print("List of new icons:", *new_icons, sep = "\n")

View File

@@ -40,16 +40,20 @@ jobs:
env:
IMG_URL: ${{ steps.imgur_step.outputs.imgur_url }}
MESSAGE: >
Hi! I'm Devicons' Peek Bot!
I just peeked at the icons that you wanted to add using [icomoon.io](https://icomoon.io/app/#/select).
Hi!
I'm Devicons' Peek Bot and I just peeked at the icons that you wanted to add using [icomoon.io](https://icomoon.io/app/#/select).
Here is the result below:
![Peeked Icons (top left)]({0})
Note: If the image doesn't show up, it's probably because it has been autodeleted by Imgur after 6 months due to our API choice.
Here is [the url]({1}).