Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,33 @@ yarn-error.log*

# env files (can opt-in for committing if needed)
.env*
!.env.example

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# git
.git
.gitignore

# IDE
.idea/
.vscode/

# Docker
Dockerfile
.dockerignore
docker-compose*.yml

# CI/CD
.github/

# Documentation
*.md

# Husky
.husky/
8 changes: 5 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Build and Push Docker Image
on:
push:
branches:
- '**'
- "**"
tags:
- 'v*'
- "v*"
pull_request:
workflow_dispatch:

Expand All @@ -20,7 +20,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
node-version: "22"

- name: Setup pnpm
uses: pnpm/action-setup@v4
Expand Down Expand Up @@ -61,3 +61,5 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
3 changes: 2 additions & 1 deletion src/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ export default async function LocaleLayout({
return (
<html lang={locale} suppressHydrationWarning>
<head>
<meta name="renderer" content="webkit" />
<Script strategy="afterInteractive" id="baidu-analytics">
{`
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a4f105236f1f9b2f14ad1653d2a45723";
var s = document.getElementsByTagName("script")[0];
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();`}
</Script>
Expand Down
Loading