diff --git a/.github/scripts/deploy_docs.sh b/.github/scripts/deploy_docs.sh index a7f7d5cfa..1ed347a9f 100644 --- a/.github/scripts/deploy_docs.sh +++ b/.github/scripts/deploy_docs.sh @@ -13,5 +13,5 @@ uv run mkdocs build gcloud storage cp -r site/* gs://ragbits-documentation # Invalidate cached content in the CDN -gcloud compute url-maps invalidate-cdn-cache ragbis-documentation-lb \ +gcloud compute url-maps invalidate-cdn-cache ragbits-documentation-lb \ --path "/*" --async \ No newline at end of file diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 88e42c526..b24c38299 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -1,8 +1,8 @@ name: Deploy documentation on: -# push: -# branches: [chore/setup_docs] + release: + branches: [main] workflow_dispatch: jobs: