Skip to content

Commit 3c4e8bc

Browse files
committed
Change the screenshot upload to using upload-artifacts
1 parent a6a6c24 commit 3c4e8bc

1 file changed

Lines changed: 18 additions & 13 deletions

File tree

.github/workflows/peek_icons.yml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,25 @@ jobs:
3131
with:
3232
name: geckodriver-log
3333
path: ./geckodriver.log
34-
- name: Upload screenshot of the newly made icons
35-
id: icons_overview_img_step
36-
uses: devicons/public-upload-to-imgur@v2.1
37-
if: success()
38-
with:
39-
path: ./screenshots/new_icons.png
40-
client_id: ${{secrets.IMGUR_CLIENT_ID}}
41-
- name: Upload zoomed in screenshot of the newly made icons
42-
id: icons_detailed_img_step
43-
uses: devicons/public-upload-to-imgur@v2.1
44-
if: success()
34+
# - name: Upload screenshot of the newly made icons
35+
# id: icons_overview_img_step
36+
# uses: devicons/public-upload-to-imgur@v2.1
37+
# if: success()
38+
# with:
39+
# path: ./screenshots/new_icons.png
40+
# client_id: ${{secrets.IMGUR_CLIENT_ID}}
41+
# - name: Upload zoomed in screenshot of the newly made icons
42+
# id: icons_detailed_img_step
43+
# uses: devicons/public-upload-to-imgur@v2.1
44+
# if: success()
45+
# with:
46+
# path: ./screenshots/screenshot_*.png
47+
# client_id: ${{secrets.IMGUR_CLIENT_ID}}
48+
- name:
49+
uses: actions/upload-artifact@v2
4550
with:
46-
path: ./screenshots/screenshot_*.png
47-
client_id: ${{secrets.IMGUR_CLIENT_ID}}
51+
name: screenshots
52+
path: ./screenshots/*.png
4853
- name: Generate the markdowns for the screenshot and put it in the DETAILED_IMGS_MARKDOWN env var
4954
if: success()
5055
env:

0 commit comments

Comments
 (0)