Skip to content

Commit

Permalink
🔀 Merge #2004 into deploy/rinkeby
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Dec 26, 2024
2 parents 78c04d3 + 3de2d06 commit aced6f8
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/deploy-testnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Deploy to testnet.liker.land

on:
push:
branches:
- 'deploy/testnet'

env:
IS_TESTNET: 'TRUE'

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
environment: testnet
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Setup node env 🏗
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: |
src/package-lock.json
functions/package-lock.json
- name: Dependencies
run: npm --prefix src install && npm --prefix functions install && cp -r src/nuxt.config.js src/config src/tailwind.config.js functions/
- name: Add robots.txt
run: |
echo 'User-agent: *' > public_base/robots.txt
echo 'Disallow: /' >> public_base/robots.txt
- uses: w9jds/setup-firebase@main
with:
tools-version: 11.30.0
firebase_token: ${{ secrets.FIREBASE_TOKEN }}
- run: firebase deploy --project civic-liker-testnet -f
env:
GA_TRACKING_ID: ${{ vars.GA_TRACKING_ID }}
AD_CONVERSION_ID: ${{ vars.AD_CONVERSION_ID }}
CRISP_WEBSITE_ID: ${{ vars.CRISP_WEBSITE_ID }}
STRIPE_PUBLIC_KEY: ${{ vars.STRIPE_PUBLIC_KEY }}
SENTRY_DSN: ${{ vars.SENTRY_DSN }}
SENTRY_ORG: ${{ vars.SENTRY_ORG }}
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_PUBLISH_RELEASE: 'TRUE'
1 change: 1 addition & 0 deletions src/components/NFTBook/ItemCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
>
<NFTBookSpecTableLabel :text="$t('identity_type_publisher')" />
<NFTBookSpecTableValue
class="group-hover:underline"
:text="iscnWorkPublisher"
:preset="preset"
/>
Expand Down
4 changes: 4 additions & 0 deletions src/pages/store/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,7 @@ export default {
...this.$route.query,
tag: undefined,
q: value,
ll_medium: 'search',
};
this.$router.replace({ query });
},
Expand All @@ -1005,6 +1006,7 @@ export default {
query: {
...this.$route.query,
tag: 'featured',
ll_medium: 'tag_featured',
},
}),
},
Expand All @@ -1015,6 +1017,7 @@ export default {
query: {
...this.$route.query,
tag: 'latest',
ll_medium: 'tag_latest',
},
}),
},
Expand All @@ -1028,6 +1031,7 @@ export default {
...this.$route.query,
q: undefined,
tag: tag.id,
ll_medium: `tag_${tag.id}`,
},
}),
})),
Expand Down

0 comments on commit aced6f8

Please sign in to comment.