Skip to content

Commit 4d1827d

Browse files
authored
Add view.html, index.html, present.md, and custom.css to screenshots orphan branch (#3)
Include view.html, index.html, present.md, and custom.css in screenshots orphan branch
1 parent 54e4e4b commit 4d1827d

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/capture.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,13 @@ jobs:
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
@@ -84,6 +89,11 @@ jobs:
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

0 commit comments

Comments
 (0)