Skip to content

Commit

Permalink
modified: .github/workflows/import-notebooks.yml
Browse files Browse the repository at this point in the history
	modified:   .github/workflows/publish.yaml
	modified:   "content/blog/\346\244\215\347\211\251\345\244\247\346\210\230\345\203\265\345\260\270\346\235\202\344\272\244\347\211\210\350\265\204\346\272\220/index.md"
  • Loading branch information
dunxuan committed Jun 29, 2024
1 parent dc560f2 commit ce9ef7f
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 42 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/import-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ permissions:
# Run workflow when a `.bib` file is added or updated in the `data/` folder
on:
push:
branches: ['main']
paths: ['notebooks/*.ipynb']
branches: ["main"]
paths: ["notebooks/*.ipynb"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -37,7 +37,7 @@ jobs:
id: cpr
uses: peter-evans/create-pull-request@v5
with:
commit-message: 'content: import blog posts from `notebooks/` folder'
commit-message: "content: import blog posts from `notebooks/` folder"
title: Hugo Blox Builder - Import latest blog posts
body: |
Convert Jupyter Notebooks in the `notebooks/` folder into blog posts in the `content/post/` folder.
Expand Down
72 changes: 37 additions & 35 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy website to GitHub Pages

env:
WC_HUGO_VERSION: '0.126.3'
WC_HUGO_VERSION: "0.126.3"

on:
# Trigger the workflow every time you push to the `main` branch
Expand All @@ -26,37 +26,39 @@ jobs:
if: github.repository_owner != 'HugoBlox'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
with:
# Fetch history for Hugo's .GitInfo and .Lastmod
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: ${{ env.WC_HUGO_VERSION }}
extended: true
- uses: actions/cache@main
with:
path: /tmp/hugo_cache_runner/
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.mod') }}
restore-keys: |
${{ runner.os }}-hugomod-
- name: Setup Pages
id: pages
uses: actions/configure-pages@main
- name: Build with Hugo
env:
HUGO_ENVIRONMENT: production
run: |
echo "Hugo Cache Dir: $(hugo config | grep cachedir)"
hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Generate Pagefind search index
run: npx pagefind --site "public"
- name: Upload artifact
uses: actions/upload-pages-artifact@main
with:
path: ./public
- name: Checkout
uses: actions/checkout@main
with:
# Fetch history for Hugo's .GitInfo and .Lastmod
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: ${{ env.WC_HUGO_VERSION }}
extended: true
- uses: actions/cache@main
with:
path: /tmp/hugo_cache_runner/
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.mod') }}
restore-keys: |
${{ runner.os }}-hugomod-
- name: Setup Pages
id: pages
uses: actions/configure-pages@main
- name: Build with Hugo
env:
HUGO_ENVIRONMENT: production
run: |
echo "Hugo Cache Dir: $(hugo config | grep cachedir)"
hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Generate Pagefind search index
run: npx pagefind --site "public"
- name: Upload artifact
uses: actions/upload-pages-artifact@main
with:
path: ./public
- name: Generate Pagefind search index
run: npx pagefind --source "public"

# Deploy website to GitHub Pages hosting
deploy:
Expand All @@ -67,6 +69,6 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
8 changes: 4 additions & 4 deletions content/blog/植物大战僵尸杂交版资源/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ date: 2024-06-29
summary: 植物大战僵尸杂交版的资源链接
---

## 潜艇伟伟迷-杂交版游戏下载链接
## 杂交版游戏下载链接 - 潜艇伟伟迷

[https://space.bilibili.com/97213827/dynamic](https://space.bilibili.com/97213827/dynamic)

## 憨憨问号-修改器:
## 杂交版修改器 - 憨憨问号

[https://link3.cc/bilibilihanhanwenhao](https://link3.cc/bilibilihanhanwenhao)

## bug 除不尽-自动备份放闪退
## 自动备份放闪退 - bug 除不尽:

[https://space.bilibili.com/312646755/dynamic](https://space.bilibili.com/312646755/dynamic)

## Magpie 全屏模糊修复:

[https://github.com/Blinue/Magpie/releases/latest](https://github.com/Blinue/Magpie/releases/latest)

## 安卓容器 Winlator-afei 改版
## 安卓容器 Winlator - afei

[https://github.com/afeimod/winlator-mod/releases/latest](https://github.com/afeimod/winlator-mod/releases/latest)

0 comments on commit ce9ef7f

Please sign in to comment.