mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +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:
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<router-link v-if="to.path || to.query || to.startsWith('/')" :to="to" v-bind="$attrs">
|
||||
<router-link v-if="to?.path || to?.query || to?.startsWith('/')" :to="to" v-bind="$attrs">
|
||||
<slot />
|
||||
</router-link>
|
||||
<a v-else-if="to.startsWith('http')" :href="to" v-bind="$attrs">
|
||||
<a v-else-if="to?.startsWith('http')" :href="to" v-bind="$attrs">
|
||||
<slot />
|
||||
</a>
|
||||
<span v-else v-bind="$attrs">
|
||||
|
||||
Reference in New Issue
Block a user