mirror of
https://github.com/modrinth/code.git
synced 2026-09-03 13:36:48 +00:00
build: deploy on both environments (#5129)
* build: deploy on both environments
* build: missing whitespace
* build: add path filter
* build: add sentry env
* build: inherit secrets
* remove if check
* Revert "remove if check"
This reverts commit b2ffe1d611.
* remove if check 2
* Fix Wrangler env
* Fix Wrangler env but for real this time
* Alternative method of getting URLs
* Check for environment instead
* Fix comment
* Clickable commit
* Set PREVIEW build var
* Fix commit shown in comment
* Fix linting errors
* )
* add preview banner
* prepr
* prepr again
* ..
---------
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
@@ -1337,6 +1337,12 @@
|
||||
"layout.banner.build-fail.title": {
|
||||
"message": "Error generating state from API when building."
|
||||
},
|
||||
"layout.banner.preview.description": {
|
||||
"message": "If you meant to access the official Modrinth website, visit <link>https://modrinth.com</link>. This preview deploy is used by Modrinth staff for testing purposes. It was built using <branch-link>{owner}/{branch}</branch-link> @ {commit}."
|
||||
},
|
||||
"layout.banner.preview.title": {
|
||||
"message": "This is a preview deploy of the Modrinth website."
|
||||
},
|
||||
"layout.banner.staging.description": {
|
||||
"message": "The staging environment is completely separate from the production Modrinth database. This is used for testing and debugging purposes, and may be running in-development versions of the Modrinth backend or frontend newer than the production instance."
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user