Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions .github/workflows/generate-mindmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- ".github/workflows/generate-mindmap.yml"
- "pattern-categorization/innersource-program-mind-map.md"
- "pattern-categorization/package.json"
workflow_dispatch:

defaults:
run:
Expand All @@ -28,16 +29,11 @@ jobs:
- name: Install Node.js dependencies
run: npm install
- name: Run Markmap
run: npx markmap --no-toolbar innersource-program-mind-map.md -o innersource-program-mind-map.html
run: npx markmap --no-open --no-toolbar innersource-program-mind-map.md -o innersource-program-mind-map.html
- name: Disable AppArmor for unprivileged user namespaces
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
- name: Screenshot Markmap Website
id: screenshot-generator
uses: swinton/[email protected]
with:
source: pattern-categorization/innersource-program-mind-map.html
destination: innersource-program-mind-map.png
full-page: false
- name: Copy Screenshot
run: cp ${{ steps.screenshot-generator.outputs.path }} .
run: npx pageres innersource-program-mind-map.html --overwrite --filename=innersource-program-mind-map
- name: Reduce Screenshot Size (PNG)
run: npx optipng innersource-program-mind-map.png
- name: Commit Changes
Expand Down
Binary file modified pattern-categorization/innersource-program-mind-map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading