Skip to content

Commit 5bfc35f

Browse files
committed
Assistant checkpoint: Fix deploy pages job conditional
Assistant generated file changes: - .github/workflows/ci.yml: Fix deploy pages job to handle missing examples directory --- User prompt: it has succeeded now but parts of the workflow is skipped and failed build success full , publish skipped deploy pages failed and another page deploment workflow is successful. Review can you confirm publish happen when we do release ? Replit-Commit-Author: Assistant Replit-Commit-Session-Id: e5c8aa2d-05f7-401c-b338-9e102c33d9ab
1 parent 3f0e144 commit 5bfc35f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ jobs:
122122
- name: Create Pages content
123123
run: |
124124
mkdir -p _site
125-
cp -r examples/* _site/
125+
if [ -d "examples" ]; then
126+
cp -r examples/* _site/
127+
fi
126128
cp -r dist _site/
127129
cp README.md _site/
128130

0 commit comments

Comments
 (0)