Skip to content

Commit d2a4bc4

Browse files
committed
Reintroduce GitHub pages deployment
1 parent 48e6cfc commit d2a4bc4

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,19 @@ jobs:
105105
- name: Build Documentation
106106
run: sh build-docs.sh
107107

108+
- name: Prepare Pages
109+
if: github.ref == 'refs/heads/develop'
110+
run: |
111+
mv docs/build/* public/docs
112+
mv htmlcov/* public/coverage
113+
114+
- name: Deploy Pages
115+
if: github.ref == 'refs/heads/develop'
116+
uses: JamesIves/github-pages-deploy-action@3.7.1
117+
with:
118+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119+
BRANCH: gh-pages
120+
FOLDER: public
121+
TARGET_FOLDER: .
122+
CLEAN: true
123+
SINGLE_COMMIT: true

0 commit comments

Comments
 (0)