From d0c463667a0f1326cd03ecfbd0bff99a34350bc8 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Fri, 17 Nov 2023 12:09:50 +0900 Subject: [PATCH] remove brew --- .github/workflows/github-pages.yml | 10 ++-------- Brewfile | 1 - README.md | 4 +--- 3 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 Brewfile diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index cbc8b78..9bcf006 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -12,18 +12,12 @@ jobs: id-token: write environment: github-pages runs-on: ubuntu-latest + container: alpine steps: - uses: actions/checkout@v4 - - uses: Homebrew/actions/setup-homebrew@master - - id: brew_cache - run: echo "::set-output name=dir::$(brew --cache)" - - uses: actions/cache@v3 - with: - path: ${{ steps.brew_cache.outputs.dir }} - key: brew-v3 - name: Build run: | - brew bundle + apk add mdbook mdbook build - uses: actions/upload-pages-artifact@v2 with: diff --git a/Brewfile b/Brewfile deleted file mode 100644 index e74f46d..0000000 --- a/Brewfile +++ /dev/null @@ -1 +0,0 @@ -brew "mdbook" diff --git a/README.md b/README.md index a15d9e3..b9c6c05 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,12 @@ ### 前提 -- Ubuntu 20.04 LTS -- Homebrew +- mdBook ### 手順 下記のコマンドを実行すると `book` ディレクトリ以下にファイルが生成されます。 ```sh -brew bundle mdbook build ```