Skip to content

Commit

Permalink
Merge branch 'main' into 5166-cloudsec-billing-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
benironside authored May 24, 2024
2 parents d32887f + db38504 commit 3e9ad29
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* @elastic/security-docs
/.github/workflows/ @elastic/docs-engineering
/.github/workflows/co-docs-builder.yml @elastic/docs-engineering
31 changes: 31 additions & 0 deletions .github/workflows/co-docs-builder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Elastic docs

on:
pull_request_target:
# The paths property can be omitted entirely if the repo is mainly used for docs. Leaving it in can result in builds that
# have branch protection checks in place lose the ability to merge because the workflow is not starting. If this property
# is included, please ensure that branch protection checks are disabled for the repo.
paths:
# Preface with your docs dir if you need further specificity (optional)
- 'docs/serverless/**.mdx'
- 'docs/serverless/**.docnav.json'
- 'docs/serverless/**.docapi.json'
- 'docs/serverless/**.devdocs.json'
- 'docs/serverless/**.jpg'
- 'docs/serverless/**.jpeg'
- 'docs/serverless/**.svg'
- 'docs/serverless/**.png'
- 'docs/serverless/**.gif'
types: [closed, opened, synchronize, labeled]

jobs:
publish:
if: contains(github.event.pull_request.labels.*.name, 'ci:doc-build')
uses: elastic/workflows/.github/workflows/docs-elastic-co-publish.yml@main
with:
subdirectory: 'docs/serverless/'
secrets:
VERCEL_GITHUB_TOKEN: ${{ secrets.VERCEL_GITHUB_TOKEN_PUBLIC }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN_PUBLIC }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID_PUBLIC }}
VERCEL_PROJECT_ID_DOCS_CO: ${{ secrets.VERCEL_PROJECT_ID_DOCS_CO_PUBLIC }}
25 changes: 0 additions & 25 deletions .github/workflows/docs-elastic-staging-publish.yml

This file was deleted.

3 changes: 3 additions & 0 deletions docs/serverless/what-is-security-serverless.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,6 @@ Serverless projects provide you with the existing ((elastic-sec)) on-premise and
]
}
/>

<span id="hello-world"></span>

0 comments on commit 3e9ad29

Please sign in to comment.