name: Build Docs on: push: branches: - '2' - 'master' paths: - 'docs/en/userguide/**' jobs: build: name: build-docs runs-on: ubuntu-latest steps: - name: Run build hook run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_BUILD_HOOK }}