ci: only run website workflow for main branch

This commit is contained in:
jo 2022-04-10 16:28:16 +02:00 committed by Kyle Robbertze
parent b18cc8c2e8
commit b42ab29b59
1 changed files with 1 additions and 3 deletions

View File

@ -7,7 +7,6 @@ on:
- .github/workflows/website.yml
- website/**
- docs/**
pull_request:
jobs:
deploy:
@ -34,7 +33,6 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build
publish_dir: website/build