ci: remove js source maps files for cloudflare pages because of that has a max file size limit < 29.2M

This commit is contained in:
charlie
2022-11-15 12:34:31 +08:00
committed by Tienson Qin
parent 3d5872c334
commit 1119c54d7c

View File

@@ -37,7 +37,9 @@ jobs:
run: yarn cache clean && yarn install --frozen-lockfile
- name: Build Released-Web
run: yarn gulp:build && clojure -M:cljs release app --config-merge '{:asset-path "${{env.asset-path}}"}'
run: |
yarn gulp:build && clojure -M:cljs release app --config-merge '{:asset-path "${{env.asset-path}}"}'
rm -rf ./static/*.js.map
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@1