-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
26 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/sh | ||
#!/bin/bash | ||
|
||
# 使用 Siyuan 构建配置 | ||
echo "Using Siyuan build config as SSE and SPA build." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/sh | ||
#!/bin/bash | ||
|
||
# 使用 Siyuan 构建配置 | ||
echo "Using Siyuan build config as SSE and SPA build." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
#!/usr/bin/sh | ||
#!/bin/bash | ||
|
||
# 使用 Docker 构建配置 | ||
echo "Using Docker build config as SSR build." | ||
|
||
APP_VERSION=1.3.0 | ||
|
||
# 兼容 node 的构建 | ||
pnpm nodeBuild | ||
docker compose up --build | ||
docker compose up --build --remove-orphans | ||
|
||
# 复制一份 terwer/nuxt3-blog:latest 镜像,并将它打上最新版本的标签 | ||
docker tag terwer/nuxt3-blog:latest terwer/nuxt3-blog:$APP_VERSION | ||
|
||
# 登录 Docker Hub | ||
# docker login | ||
|
||
# 推送最新版本和 latest 标签 | ||
docker push terwer/nuxt3-blog:latest | ||
docker push terwer/nuxt3-blog:$APP_VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/sh | ||
#!/bin/bash | ||
|
||
# 使用 Node 构建配置 | ||
echo "Using Node build config as SSR build." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/sh | ||
#!/bin/bash | ||
|
||
# 使用 Node 构建配置 | ||
echo "Using Node build config as SSR serve" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/sh | ||
#!/bin/bash | ||
|
||
# 使用 Vercel 构建配置 | ||
echo "Using Vercel build config as SSR build." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters