name: Deploy website # Controls when the action will run. Triggers the workflow on push # events but only for the master branch on: push: branches: [ master, benchmarks ] jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on runs-on: ubuntu-latest steps: # Creates dispatch event for haystack-website repo - name: Repository Dispatch uses: peter-evans/repository-dispatch@v1 with: token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} repository: deepset-ai/haystack-website event-type: deploy-website client-payload: '{}'