Skip to content

Commit 1e9bcdc

Browse files
author
Peter Bengtsson
authored
Omit dereferenced static rest json file in stage builds (#22589)
* omit dereferenced static rest json file in stage builds * there is no translations/de no more * remove lines that no longer do anything
1 parent 048e784 commit 1e9bcdc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/staging-build-pr.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,13 @@ jobs:
101101

102102
- name: Delete heavy things we won't need deployed
103103
run: |
104-
# Non-WIP translations we don't support yet.
105-
rm -fr translations/de* translations/ru* translations/ko* translations/ru*
106-
107104
# Not needed to run after having been built.
108105
rm -fr .next/cache
109106
107+
# The dereferenced file is not used in runtime once the
108+
# decorated file has been created from it.
109+
rm -fr lib/rest/static/dereferenced
110+
110111
- name: Create an archive
111112
run: |
112113
tar -c --file=app.tar \

0 commit comments

Comments
 (0)