diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml new file mode 100644 index 0000000000..c10743d932 --- /dev/null +++ b/.github/workflows/build-push.yml @@ -0,0 +1,21 @@ +on: + push: + branches: + - main + paths: + - nginx-gateway-fabric/site/content + pull_request: + branches: + - "*" +jobs: + call-docs-build-push: + uses: nginxinc/docs-actions/.github/workflows/docs-build-push.yml@main + with: + production_url_path: "/nginx-gateway-fabric" + preview_url_path: "/previews/nginx-gateway-fabric/" + docs_source_path: "./public/" + cdn_content_path: "/*" + doc_type: "hugo" + secrets: + AZURE_CREDENTIALS: ${{secrets.AZURE_CREDENTIALS}} + AZURE_KEY_VAULT: ${{secrets.AZURE_KEY_VAULT}}