@@ -29,18 +29,31 @@ jobs:
2929 run : npm install
3030 - name : Run Markmap
3131 run : npx markmap --no-toolbar innersource-program-mind-map.md -o innersource-program-mind-map.html
32- - name : Screenshot Markmap Website
33- id : screenshot-generator
34- uses : swinton/screenshot-website@v1.x
32+ # - name: Screenshot Markmap Website
33+ # id: screenshot-generator
34+ # uses: swinton/screenshot-website@v1.x
35+ # with:
36+ # source: pattern-categorization/innersource-program-mind-map.html
37+ # destination: innersource-program-mind-map.png
38+ # full-page: false
39+ # - name: Copy Screenshot
40+ # run: cp ${{ steps.screenshot-generator.outputs.path }} .
41+ # - name: Reduce Screenshot Size (PNG)
42+ # run: npx optipng innersource-program-mind-map.png
43+ # - name: Commit Changes
44+ # uses: stefanzweifel/git-auto-commit-action@v4
45+ # with:
46+ # commit_message: Re-creating markmap and screenshot
47+ - name : install puppeteer-headful
48+ uses : mujo-code/puppeteer-headful@master # Required for headful puppeteer
49+ env :
50+ CI : ' true'
51+ - name : screenshots-ci-action
52+ uses : flameddd/screenshots-ci-action@master
3553 with :
36- source : pattern-categorization/innersource-program-mind-map.html
37- destination : innersource-program-mind-map.png
38- full-page : false
39- - name : Copy Screenshot
40- run : cp ${{ steps.screenshot-generator.outputs.path }} .
41- - name : Reduce Screenshot Size (PNG)
42- run : npx optipng innersource-program-mind-map.png
43- - name : Commit Changes
44- uses : stefanzweifel/git-auto-commit-action@v4
45- with :
46- commit_message : Re-creating markmap and screenshot
54+ url : pattern-categorization/innersource-program-mind-map.html
55+ # devices: iPhone 6,iPhone 6 landscape,Nexus 7,Pad Pro,Galaxy S III landscape,iPad Pro landscape
56+ # - uses: actions/upload-artifact@v2 # Upload screenshots to Actions Artifacts via actions/upload-artifact@v2
57+ # with:
58+ # path: screenshots
59+ # name: Download-screenshots
0 commit comments