diff --git a/.github/workflows/website-update-api-reference.yml b/.github/workflows/website-update-api-reference.yml index d7e3149f..6bdddb2c 100644 --- a/.github/workflows/website-update-api-reference.yml +++ b/.github/workflows/website-update-api-reference.yml @@ -2,12 +2,8 @@ name: Website update API reference on: - push: - branches: - - main - paths: - - website/spectaql-config.yml - - cala-server/schema.graphql + release: + types: [published] jobs: update-api-reference: