ci: only run website workflow for main branch
This commit is contained in:
parent
b18cc8c2e8
commit
b42ab29b59
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue