Skip to content

Commit

Permalink
docs: Move publishing to stable release (#48)
Browse files Browse the repository at this point in the history
Make sure docs gets published only on stable releases.
---

### **Checklist**
- [ ] Tests added/updated
- [ ] Documentation updated (if needed)
- [ ] Code conforms to style guidelines

---------

Signed-off-by: Roaa Sakr <[email protected]>
  • Loading branch information
romoh authored Dec 19, 2024
1 parent 63c4822 commit 5bf9e3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/github-pages-publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: update GitHub pages

on:
push:
branches: ["main"]
branches: ["stable"]
workflow_dispatch:

permissions:
Expand All @@ -22,6 +22,8 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v4
with:
ref: stable

- name: setup pages
uses: actions/configure-pages@v5
Expand Down

0 comments on commit 5bf9e3e

Please sign in to comment.