Add PR condition

This commit is contained in:
Ottatop 2023-07-22 18:01:17 -05:00
parent 30e30fa5e2
commit cc15647c2c

View file

@ -27,7 +27,7 @@ jobs:
- name: Build docs
run: cd ./api/lua/doc && ldoc . && cd ../../..
- name: Deploy
if: ${{ github.event_name == 'push' }}
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}