From 3dd9bb52deda027e42ff15ea862f35603baf0327 Mon Sep 17 00:00:00 2001 From: Anduin Xue Date: Tue, 1 Mar 2022 01:33:48 +0800 Subject: [PATCH] Try to auto build pages. --- .github/workflows/build.yml | 12 ++++++++++++ ...酸梅汤(半成品加工).md => 酸梅汤(半成品加工).md} | 0 .../{西红柿土豆炖牛肉(腩).md => 西红柿土豆炖牛肉.md} | 0 3 files changed, 12 insertions(+) rename dishes/drink/{酸梅汤(半成品加工).md => 酸梅汤(半成品加工).md} (100%) rename dishes/home-cooking/西红柿土豆炖牛肉/{西红柿土豆炖牛肉(腩).md => 西红柿土豆炖牛肉.md} (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 178ebb4..b9c02cc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,3 +44,15 @@ jobs: commit_user_name: github-actions[bot] commit_user_email: github-actions[bot]@users.noreply.github.com commit_author: github-actions[bot] + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: BSFishy/pip-action@v1 + with: + requirements: requirements.txt + - run: mkdocs build + - uses: peaceiris/actions-gh-pages@v3 + - with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./site diff --git a/dishes/drink/酸梅汤(半成品加工).md b/dishes/drink/酸梅汤(半成品加工).md similarity index 100% rename from dishes/drink/酸梅汤(半成品加工).md rename to dishes/drink/酸梅汤(半成品加工).md diff --git a/dishes/home-cooking/西红柿土豆炖牛肉/西红柿土豆炖牛肉(腩).md b/dishes/home-cooking/西红柿土豆炖牛肉/西红柿土豆炖牛肉.md similarity index 100% rename from dishes/home-cooking/西红柿土豆炖牛肉/西红柿土豆炖牛肉(腩).md rename to dishes/home-cooking/西红柿土豆炖牛肉/西红柿土豆炖牛肉.md