mirror of
https://github.com/konpa/devicon.git
synced 2025-02-24 01:02:22 +01:00
Change the screenshot upload to using upload-artifacts
This commit is contained in:
parent
a6a6c24510
commit
3c4e8bcd87
31
.github/workflows/peek_icons.yml
vendored
31
.github/workflows/peek_icons.yml
vendored
@ -31,20 +31,25 @@ jobs:
|
||||
with:
|
||||
name: geckodriver-log
|
||||
path: ./geckodriver.log
|
||||
- name: Upload screenshot of the newly made icons
|
||||
id: icons_overview_img_step
|
||||
uses: devicons/public-upload-to-imgur@v2.1
|
||||
if: success()
|
||||
# - name: Upload screenshot of the newly made icons
|
||||
# id: icons_overview_img_step
|
||||
# uses: devicons/public-upload-to-imgur@v2.1
|
||||
# if: success()
|
||||
# with:
|
||||
# path: ./screenshots/new_icons.png
|
||||
# client_id: ${{secrets.IMGUR_CLIENT_ID}}
|
||||
# - name: Upload zoomed in screenshot of the newly made icons
|
||||
# id: icons_detailed_img_step
|
||||
# uses: devicons/public-upload-to-imgur@v2.1
|
||||
# if: success()
|
||||
# with:
|
||||
# path: ./screenshots/screenshot_*.png
|
||||
# client_id: ${{secrets.IMGUR_CLIENT_ID}}
|
||||
- name:
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
path: ./screenshots/new_icons.png
|
||||
client_id: ${{secrets.IMGUR_CLIENT_ID}}
|
||||
- name: Upload zoomed in screenshot of the newly made icons
|
||||
id: icons_detailed_img_step
|
||||
uses: devicons/public-upload-to-imgur@v2.1
|
||||
if: success()
|
||||
with:
|
||||
path: ./screenshots/screenshot_*.png
|
||||
client_id: ${{secrets.IMGUR_CLIENT_ID}}
|
||||
name: screenshots
|
||||
path: ./screenshots/*.png
|
||||
- name: Generate the markdowns for the screenshot and put it in the DETAILED_IMGS_MARKDOWN env var
|
||||
if: success()
|
||||
env:
|
||||
|
Loading…
x
Reference in New Issue
Block a user