Skip to content

Commit e412b2b

Browse files
committed
feat: adds support for content directory
1 parent 7bd098c commit e412b2b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/static.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ jobs:
143143
STATIC_JSON: ${{ steps.static.outputs.result }}
144144
run: |
145145
jq -r '.' <<<"$STATIC_JSON" > ./.static--generator/static.json
146+
# Copy the user-defined content directory to the generator's directory.
147+
- name: Copy "content" Directory to Generator
148+
run: |
149+
if [ -d "./content" ]; then
150+
rsync -av ./content/ ./.static--generator/content/
151+
fi
146152
# Sync the user-defined overrides directory to the generator's directory.
147153
- name: Syncing Overrides
148154
run: |

0 commit comments

Comments
 (0)