Skip to content

Commit

Permalink
Modify docs generation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoema committed Oct 4, 2023
1 parent efe462b commit 5794871
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/generate_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ name: Documentation generation CI

on:
push:
branches: [ master ]
paths:
- '.github/workflows/generate_docs.yml'
- 'docs/**'
branches:
- master

jobs:
build:
Expand All @@ -13,7 +17,10 @@ jobs:

steps:
# checkout branch
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4
with:
sparce-checkout: docs

# Install dblatex
- name: Install dependencies
Expand Down Expand Up @@ -57,17 +64,11 @@ jobs:
uses: actions/download-artifact@v2
with:
name: doc-files
path: docs
path: .

# add, commit and push to gh-pages
- name: Commit changes
uses: EndBug/add-and-commit@v7
uses: EndBug/add-and-commit@v9
with:
message: 'Update docs'
branch: gh-pages
add: '["docs/index.md",
"docs/mobilitydb-workshop.pdf",
"docs/mobilitydb-workshop.epub",
"docs/html/docbook.css", "docs/html/images/*",
"docs/html/*.html"]'

0 comments on commit 5794871

Please sign in to comment.