1
0
mirror of synced 2025-12-30 03:01:36 -05:00

enable OS contributions of components,lib,middleware,pages, and stylesheets code (#25982)

This commit is contained in:
Mike Surowiec
2022-03-07 15:32:28 -06:00
committed by GitHub
parent 7ec5105d87
commit ccc50c4b95

View File

@@ -162,6 +162,11 @@ jobs:
rsync -rptovR ./user-code/content/./**/*.md ./content
rsync -rptovR ./user-code/assets/./**/*.png ./assets
rsync -rptovR ./user-code/data/./**/*.{yml,md} ./data
rsync -rptovR ./user-code/components/./**/*.{ts,tsx} ./components
rsync -rptovR ./user-code/lib/./**/*.{js,ts,json} ./lib
rsync -rptovR ./user-code/middleware/./**/*.{js,ts} ./middleware
rsync -rptovR ./user-code/pages/./**/*.{tsx} ./pages
rsync -rptovR ./user-code/stylesheets/./**/*.{scss} ./stylesheets
# In addition to making the final image smaller, we also save time by not sending unnecessary files to the docker build context
- name: 'Prune for preview env'