Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
niltor committed Jul 17, 2024
1 parent e3c75a6 commit 4475f4c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Use GitHub Actions to automate the deployment of your blog site.
Create a `build.yml` file in the root directory of the repository, under the `.github/workflows` directory (if it doesn't exist, create it manually). The content should be as follows:

```yml
name: Deploy static content to Pages
name: Deploy static content to Pages
on:
push:
branches: ["main"]
Expand All @@ -134,6 +134,14 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v4

- name: Dotnet Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x

- run: dotnet tool install -g Ater.EasyBlog --version 1.0.0-beta1
- run: ezblog build ./Content ./_site

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
8 changes: 8 additions & 0 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v4

- name: Dotnet Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x

- run: dotnet tool install -g Ater.EasyBlog --version 1.0.0-beta1
- run: ezblog build ./Content ./_site

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit 4475f4c

Please sign in to comment.