Skip to content

Commit ca5e508

Browse files
committed
in CI, use single-commit: true to only keep latest commit of deployed docs in gh-pages branch
Fixes #86
1 parent c0b5aea commit ca5e508

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@ jobs:
279279

280280
- name: Deploy Documentation
281281
if: ${{ github.event_name == 'push' && steps.deploy-on-push.outputs.result != 0 }}
282-
uses: JamesIves/github-pages-deploy-action@4.1.0
282+
uses: JamesIves/github-pages-deploy-action@v4.7.3
283283
with:
284284
branch: gh-pages # The branch the action should deploy to.
285285
folder: doc # The folder the action should deploy.
286+
single-commit: true

0 commit comments

Comments
 (0)