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