mirror of
https://github.com/kou029w/jest-hands-on.git
synced 2025-01-31 14:07:58 +00:00
remove brew
This commit is contained in:
parent
8bac7ca085
commit
d0c463667a
3 changed files with 3 additions and 12 deletions
10
.github/workflows/github-pages.yml
vendored
10
.github/workflows/github-pages.yml
vendored
|
@ -12,18 +12,12 @@ jobs:
|
||||||
id-token: write
|
id-token: write
|
||||||
environment: github-pages
|
environment: github-pages
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: alpine
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
brew bundle
|
apk add mdbook
|
||||||
mdbook build
|
mdbook build
|
||||||
- uses: actions/upload-pages-artifact@v2
|
- uses: actions/upload-pages-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
1
Brewfile
1
Brewfile
|
@ -1 +0,0 @@
|
||||||
brew "mdbook"
|
|
|
@ -4,14 +4,12 @@
|
||||||
|
|
||||||
### 前提
|
### 前提
|
||||||
|
|
||||||
- Ubuntu 20.04 LTS
|
- mdBook
|
||||||
- Homebrew
|
|
||||||
|
|
||||||
### 手順
|
### 手順
|
||||||
|
|
||||||
下記のコマンドを実行すると `book` ディレクトリ以下にファイルが生成されます。
|
下記のコマンドを実行すると `book` ディレクトリ以下にファイルが生成されます。
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
brew bundle
|
|
||||||
mdbook build
|
mdbook build
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue