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
This commit is contained in:
7
.github/workflows/staging-build-pr.yml
vendored
7
.github/workflows/staging-build-pr.yml
vendored
@@ -101,12 +101,13 @@ jobs:
|
||||
|
||||
- name: Delete heavy things we won't need deployed
|
||||
run: |
|
||||
# Non-WIP translations we don't support yet.
|
||||
rm -fr translations/de* translations/ru* translations/ko* translations/ru*
|
||||
|
||||
# Not needed to run after having been built.
|
||||
rm -fr .next/cache
|
||||
|
||||
# The dereferenced file is not used in runtime once the
|
||||
# decorated file has been created from it.
|
||||
rm -fr lib/rest/static/dereferenced
|
||||
|
||||
- name: Create an archive
|
||||
run: |
|
||||
tar -c --file=app.tar \
|
||||
|
||||
Reference in New Issue
Block a user