Skip to content

Commit

Permalink
aider: build: Add condition to deploy only on 'main' branch
Browse files Browse the repository at this point in the history
  • Loading branch information
schpet committed Sep 1, 2024
1 parent 28f26bd commit 27e40fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 27e40fc

Please sign in to comment.