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

pull/7415/head
charlie 2022-11-15 12:34:31 +08:00 committed by Tienson Qin
parent 3d5872c334
commit 1119c54d7c
1 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,9 @@ jobs:
run: yarn cache clean && yarn install --frozen-lockfile run: yarn cache clean && yarn install --frozen-lockfile
- name: Build Released-Web - 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 - name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@1 uses: cloudflare/pages-action@1