Skip to content

Commit

Permalink
doctave CI
Browse files Browse the repository at this point in the history
  • Loading branch information
shtayeb committed Dec 1, 2023
1 parent 33f77c6 commit ab6fc00
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy documentation site

on:
push:
paths:
- 'docs/**'
- '.github/workflows/deploy-docs.yml'
workflow_dispatch:

jobs:
build:
name: Deploys
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main

- name: 'Build and deploy'
shell: bash
run: |
brew install doctave/doctave/doctave
doctave build --release --allow-failed-checks
- name: GitHub Pages
if: github.ref == 'refs/heads/main'
uses: crazy-max/ghaction-github-pages@v4
with:
build_dir: site/
env:
GITHUB_TOKEN: {{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class Product(models.Model):
- [django-easy-audit](https://github.com/soynatan/django-easy-audit)
- [django-extensions](https://github.com/django-extensions/django-extensions)
- [nplusone](https://github.com/jmcarp/nplusone)
- [django-debug-toolbar](https://)
- django-debug-toolbar

## Packages to consider

Expand Down

0 comments on commit ab6fc00

Please sign in to comment.