gh-pages CI fix
This commit is contained in:
parent
2414d904a8
commit
3abe096513
65
.github/workflows/gh-pages.yaml
vendored
65
.github/workflows/gh-pages.yaml
vendored
@ -1,43 +1,42 @@
|
||||
name: gh-pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '**.h'
|
||||
- '**.hpp'
|
||||
- '**.dox'
|
||||
- '**.md'
|
||||
- 'docs/**'
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- "**.h"
|
||||
- "**.hpp"
|
||||
- "**.dox"
|
||||
- "**.md"
|
||||
- "docs/**"
|
||||
- "**/gh-pages.yaml"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
gh-pages:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: debian:testing
|
||||
gh-pages:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt -y update
|
||||
apt -y install --no-install-recommends git python3 python3-pip doxygen
|
||||
pip3 install --upgrade poxy
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt -y update
|
||||
sudo apt -y install --no-install-recommends git python3 python3-pip doxygen
|
||||
sudo -H pip3 install --upgrade poxy
|
||||
|
||||
- name: Generate docs
|
||||
run: |
|
||||
cd docs
|
||||
poxy --verbose
|
||||
- name: Generate docs
|
||||
run: |
|
||||
cd docs
|
||||
poxy --verbose
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./docs/html
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./docs/html
|
||||
|
Loading…
Reference in New Issue
Block a user