Skip to content

Commit 56dafed

Browse files
committed
Remove duplicate GitHub Pages deployment - Use GitHub's built-in workflow [release]
1 parent 1d8d0bf commit 56dafed

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -268,29 +268,8 @@ jobs:
268268
- name: Perform CodeQL Analysis
269269
uses: github/codeql-action/analyze@v3
270270

271-
deploy-github-pages:
272-
name: Deploy to GitHub Pages
273-
runs-on: ubuntu-latest
274-
needs: [package, create-release]
275-
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && contains(github.event.head_commit.message, '[release]')
276-
environment: github-pages
277-
278-
steps:
279-
- name: Checkout code
280-
uses: actions/checkout@v4
281-
282-
- name: Setup Node.js
283-
uses: actions/setup-node@v4
284-
with:
285-
node-version: '18'
286-
287-
- name: Deploy to GitHub Pages
288-
uses: peaceiris/actions-gh-pages@v3
289-
with:
290-
github_token: ${{ secrets.GITHUB_TOKEN }}
291-
publish_dir: ./docs
292-
publish_branch: gh-pages
293-
force_orphan: true
271+
# GitHub Pages deployment is handled by GitHub's built-in workflow
272+
# No need for custom deployment here
294273

295274
dependency-review:
296275
name: Dependency Review

0 commit comments

Comments
 (0)