Skip to content

Commit c0b7cac

Browse files
committed
Different build approach
1 parent 4b1b750 commit c0b7cac

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/sphinx-build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
build:
@@ -13,14 +13,14 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v1
1515
# Standard drop-in approach that should work for most people.
16+
# - uses: ammaraskar/sphinx-action@master
17+
# with:
18+
# docs-folder: "docs/"
19+
# Example of using a custom build-command.
1620
- uses: ammaraskar/sphinx-action@master
1721
with:
22+
build-command: "sphinx-build -b html . _build"
1823
docs-folder: "docs/"
19-
# Example of using a custom build-command.
20-
# - uses: ammaraskar/sphinx-action@master
21-
# with:
22-
# build-command: "sphinx-build -b html . _build"
23-
# docs-folder: "docs2/"
2424
# Grabbing custom dependencies and building as a pdf.
2525
# - uses: ammaraskar/sphinx-action@master
2626
# with:
@@ -42,7 +42,7 @@ jobs:
4242
# ===============================
4343
- name: Commit documentation changes
4444
run: |
45-
git clone https://github.com/ammaraskar/sphinx-action-test.git --branch gh-pages --single-branch gh-pages
45+
git clone https://github.com/b-branco/personal-website.git --branch gh-pages --single-branch gh-pages
4646
cp -r docs/_build/html/* gh-pages/
4747
cd gh-pages
4848
touch .nojekyll

0 commit comments

Comments
 (0)