Skip to content

Commit

Permalink
ci: Run publish only on main
Browse files Browse the repository at this point in the history
  • Loading branch information
amis92 committed Feb 23, 2022
1 parent 7030e64 commit 4e955dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- run: dotnet test --no-build

- name: Publish
if: github.ref == 'refs/heads/main'
run: dotnet publish src/Phalanx.App --output ./.build/pub -p:GHPages=true -p:GHPagesBase=https://${{ env.PagesCname }}

- name: Push gh-pages
Expand Down

0 comments on commit 4e955dd

Please sign in to comment.