Skip to content

Commit

Permalink
[docs] Install gems with --user-install
Browse files Browse the repository at this point in the history
  • Loading branch information
thoni56 committed Apr 30, 2024
1 parent 9938243 commit 2a1b580
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/deploy_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,12 @@ jobs:

- name: Install Asciidoctor and Asciidoctor-Diagram
run: |
gem install asciidoctor asciidoctor-diagram asciidoctor-pdf
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y make # Install make if not available
gem install asciidoctor asciidoctor-diagram asciidoctor-pdf --user-install
- name: Run Make
run: |
cd docs # Changes directory to where the Makefile is located
make ci # Executes your Make target that builds docs
cd doc # Changes directory to where the Makefile is located
PATH=${{ github.workspace }}/.gem/bin:$PATH make ci
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 2a1b580

Please sign in to comment.