Compare commits
1 Commits
3a12bccaff
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 95c3bd7338 |
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"projects": {
|
||||
"default": "itsamejms"
|
||||
}
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
name: Sphinx build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build HTML
|
||||
uses: ammaraskar/sphinx-action@0.4
|
||||
with:
|
||||
# docs-folder: "docs/"
|
||||
# build-command: "sphinx-build -b html docs/source/ docs/build/html"
|
||||
pre-build-command: "apt-get update -y && apt-get install -y pandoc"
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: html-docs
|
||||
path: docs/build/html/
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
if: github.ref == 'refs/heads/main'
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: docs/build/html
|
||||
+3
-1
@@ -138,4 +138,6 @@ kp_determinants2
|
||||
|
||||
*.Rproj
|
||||
.Rhistory
|
||||
scratch*
|
||||
scratch*
|
||||
# Firebase
|
||||
.firebase/
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build the Sphinx docs and deploy to Firebase Hosting (site: matti-jms).
|
||||
set -euo pipefail
|
||||
sphinx-build -b html docs/source/ docs/build/html
|
||||
firebase deploy --only hosting:matti-jms
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"hosting": {
|
||||
"site": "matti-jms",
|
||||
"public": "docs/build/html",
|
||||
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
|
||||
"cleanUrls": true,
|
||||
"trailingSlash": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user