Skip to content

Commit

Permalink
CI: Limit "deploy doc" job to master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Dec 11, 2022
1 parent 7c35f6c commit 8faf416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:

# Deployment job
deploy:
if: github.repository_owner == 'ros-planning'
if: github.repository_owner == 'ros-planning' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
needs: doc
environment:
Expand Down

0 comments on commit 8faf416

Please sign in to comment.