mirror of
https://github.com/numtide/treefmt.git
synced 2024-10-03 20:18:11 +03:00
run deploy only on main
This commit is contained in:
parent
871701e184
commit
9da59c7364
1
.github/workflows/gh-pages.yml
vendored
1
.github/workflows/gh-pages.yml
vendored
@ -35,6 +35,7 @@ jobs:
|
||||
|
||||
# Deployment job
|
||||
deploy:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
|
Loading…
Reference in New Issue
Block a user