Skip to content

Commit fb56a9b

Browse files
Update build workflow to streamline static export process
- Modified the static export step to remove both the admin folder and API folders in a single command for efficiency.
1 parent a9a7bb5 commit fb56a9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: npm install
2222

2323
- name: Remove folders from static export
24-
run: rm -rf ./src/app/admin && rm -rf ./src/app/api/auth && rm -rf ./src/app/api/upload
24+
run: rm -rf ./src/app/admin ./src/app/api
2525

2626
- name: Build and Static HTML Export
2727
run: npm run build

0 commit comments

Comments
 (0)