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:
6
.github/scripts/icomoon_peek.py
vendored
6
.github/scripts/icomoon_peek.py
vendored
@@ -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")
|
||||
|
10
.github/workflows/peek_icons.yml
vendored
10
.github/workflows/peek_icons.yml
vendored
@@ -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:
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
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}).
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user