mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-31 09:10:15 +00:00
* test pre commit hook * test status * test on this branch * push generated docstrings and tutorials to branch * fixed syntax error * Add latest docstring and tutorial changes * add files before commit * catch commit error * separate generation from deployment * add deployment process for staging * add current branch to payload Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
25 lines
675 B
YAML
25 lines
675 B
YAML
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: '{}'
|