File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272
7373 FOLDERS=$(bun -e "console.log(JSON.parse(require('fs').readFileSync('.screenshots/_screenshot_folders.json', 'utf8')).join(' '))")
7474 rm .screenshots/_screenshot_folders.json
75+ cp .screenshots/view.html /tmp/view.html
7576 mv .screenshots/slide-* /tmp/
7677
78+ cp index.html /tmp/index.html
79+ cp present.md /tmp/present.md
80+ cp custom.css /tmp/custom.css
81+
7782 git checkout main || git checkout master || true
7883 git branch -D screenshots 2>/dev/null || true
7984 git checkout --orphan screenshots
8489 cp -r /tmp/$f .
8590 done
8691
92+ cp /tmp/view.html view.html
93+ cp /tmp/index.html index.html
94+ cp /tmp/present.md present.md
95+ cp /tmp/custom.css custom.css
96+
8797 cat > README.md << 'README_EOF'
8898 # Screenshot Branch
8999
@@ -100,7 +110,7 @@ jobs:
100110 Each directory contains screenshots at various resolutions.
101111 README_EOF
102112
103- git add slide-*/ README.md
113+ git add slide-*/ view.html index.html present.md custom.css README.md
104114 git commit -m "Update slide deck screenshots [skip ci]"
105115 git push origin screenshots --force
106116
You can’t perform that action at this time.
0 commit comments