Skip to content

Commit

Permalink
ci(docs): automatically deploy docs to pages [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Sep 12, 2024
1 parent 25789e0 commit f880aeb
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: docs
on:
push:
branches:
- main
tags:
- "*"
workflow_dispatch:

jobs:
Test:
Expand Down Expand Up @@ -36,12 +37,11 @@ jobs:
git checkout main
task docs
# TODO Automatic deploys fail
# - name: Deploy Documentation
# uses: Cecilapp/GitHub-Pages-deploy@v3
# with:
# build_dir: docs/build/html/
# branch: gh-pages
# email: [email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy Documentation
uses: Cecilapp/GitHub-Pages-deploy@v3
with:
build_dir: docs/build/html/
branch: gh-pages
email: ${{ github.actor }}@users.noreply.github.com
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f880aeb

Please sign in to comment.