Skip to content

Commit f880aeb

Browse files
committed
ci(docs): automatically deploy docs to pages [skip ci]
1 parent 25789e0 commit f880aeb

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/docs.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: docs
22
on:
33
push:
4-
branches:
5-
- main
4+
tags:
5+
- "*"
6+
workflow_dispatch:
67

78
jobs:
89
Test:
@@ -36,12 +37,11 @@ jobs:
3637
git checkout main
3738
task docs
3839
39-
# TODO Automatic deploys fail
40-
# - name: Deploy Documentation
41-
# uses: Cecilapp/GitHub-Pages-deploy@v3
42-
# with:
43-
# build_dir: docs/build/html/
44-
# branch: gh-pages
45-
# email: aminyahyaabadi74@gmail.com
46-
# env:
47-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
- name: Deploy Documentation
41+
uses: Cecilapp/GitHub-Pages-deploy@v3
42+
with:
43+
build_dir: docs/build/html/
44+
branch: gh-pages
45+
email: ${{ github.actor }}@users.noreply.github.com
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)