Only trigger pistache.io deploy when needed

The workflow was triggered every time someone would make a PR,
resulting in a failure due to missing privileges of the user.
It was also triggered when unrelated files were modified.
This PR fixes that.
parent 0d09ab98
......@@ -3,8 +3,7 @@ name: pistache.io
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
paths: pistache.io/**
jobs:
pistacheio-deploy:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment