Skip to content

Commit

Permalink
modified build_and_deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh-s-sawant committed Aug 20, 2024
1 parent 0e1d88b commit 79e9491
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,19 @@ jobs:
- name: Upload documentation artifact
uses: actions/upload-pages-artifact@v3
with:
name: documentation
path: Docs/build/html

deploy:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/development'
steps:
- name: Download documentation artifact
uses: actions/download-artifact@v3
with:
name: documentation

- name: deploy to gh-pages branch
uses: actions/deploy-pages@v2
with:
Expand Down

0 comments on commit 79e9491

Please sign in to comment.