Skip to content

Commit

Permalink
fix: only start deploy-documentation job on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
leahaeusel committed Jan 14, 2025
1 parent 25feb64 commit e2cdf38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:

deploy-documentation:
needs: build-documentation
if: ${{github.ref == 'refs/heads/main'}}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
if: ${{github.ref == 'refs/heads/main'}}
uses: actions/deploy-pages@v4

0 comments on commit e2cdf38

Please sign in to comment.