mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-04-21 04:21:20 +02:00
Compare commits
No commits in common. "9fbeb361092dfc22c545f62a515138a34c2cdb0a" and "d5fa852369852aac0e77f1658b2b9f21619cefba" have entirely different histories.
9fbeb36109
...
d5fa852369
12
.github/workflows/docs.yml
vendored
12
.github/workflows/docs.yml
vendored
@ -3,9 +3,6 @@ name: Docs
|
||||
on:
|
||||
push:
|
||||
branches: [ master-exraildoc ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -14,16 +11,17 @@ jobs:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Requirements
|
||||
# Allow sphinx-rtd-theme to choose the versions of sphinx & docutils
|
||||
run: |
|
||||
pip3 install -r requirements.txt
|
||||
sudo apt-get install doxygen
|
||||
- name: Build docs
|
||||
run: |
|
||||
cd docs
|
||||
make html
|
||||
touch _build/html/.nojekyll
|
||||
echo 'dcc-ex.com' > docs/_build/html/CNAME
|
||||
touch docs/_build/html/.nojekyll
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@ba1486788b0490a235422264426c45848eac35c6
|
||||
if: github.ref == 'refs/heads/sphinx'
|
||||
uses: JamesIves/github-pages-deploy-action@ba1486788b0490a235422264426c45848eac35c6 # v4.4.1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: gh-pages # The branch the action should deploy to.
|
||||
|
Loading…
x
Reference in New Issue
Block a user