Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
Trying to fix CI doc gen and publishing. Doing what is specified in https://github.com/i2mint/epythet?tab=readme-ov-file#publishing-to-github-page-with-github-actions
  • Loading branch information
thorwhalen authored Nov 6, 2024
1 parent 84cb4fc commit 2ff2374
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions actions/generate-documentation/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: "Generate Documentation"
name: GitHub Pages
description: "Generate documentation using Epythet"
runs:
using: 'composite'
steps:
- name: Install Dependencies
uses: i2mint/isee/actions/install-packages@master
with:
pypi-packages: 'isee'
- name: Generate Documentation
shell: bash
run: isee generate-documentation
on:
workflow_run:
workflows: ["Continuous Integration"]
types:
- completed
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: i2mint/epythet/actions/publish-github-pages@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
docs-branch: "gh-pages"
docs-dir: "./docsrc/_build/html/"
python-version: "3.10"

0 comments on commit 2ff2374

Please sign in to comment.