Skip to content

Commit

Permalink
Try $GITHUB_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Apr 21, 2024
1 parent c6c27cc commit d7ef95d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ jobs:
- name: Install Homebrew
run: |
bash -c "$(curl -fsSL https://github.com/raw/Homebrew/install/HEAD/install.sh)"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
echo "$(brew --prefix)/bin" >> $GITHUB_PATH
- name: Install Hugo, D2, watchexec
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install hugo d2 watchexec
- name: Install Quarto
uses: quarto-dev/quarto-actions/setup@v2
Expand All @@ -76,7 +77,6 @@ jobs:
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build D2 diagrams
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
bash scripts/make_d2.sh
- name: Build Pikchr diagrams
run: |
Expand All @@ -92,7 +92,6 @@ jobs:
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
hugo \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
Expand Down

0 comments on commit d7ef95d

Please sign in to comment.