run deploy only on main

This commit is contained in:
Jörg Thalheim 2024-07-02 07:43:24 +02:00
parent 871701e184
commit 9da59c7364

View File

@ -35,6 +35,7 @@ jobs:
# Deployment job
deploy:
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}