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 ...@@ -3,8 +3,7 @@ name: pistache.io
on: on:
push: push:
branches: [ master ] branches: [ master ]
pull_request: paths: pistache.io/**
branches: [ master ]
jobs: jobs:
pistacheio-deploy: 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