-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into moved-content
- Loading branch information
Showing
666 changed files
with
28,814 additions
and
913 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
version: 2 | ||
updates: | ||
|
||
# GitHub actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "sunday" | ||
time: "22:00" | ||
reviewers: | ||
- "elastic/observablt-ci" | ||
groups: | ||
github-actions: | ||
patterns: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
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/en/serverless/**.mdx' | ||
- 'docs/en/serverless/**.docnav.json' | ||
- 'docs/en/serverless/**.docapi.json' | ||
- 'docs/en/serverless/**.devdocs.json' | ||
- 'docs/en/serverless/**.jpg' | ||
- 'docs/en/serverless/**.jpeg' | ||
- 'docs/en/serverless/**.svg' | ||
- 'docs/en/serverless/**.png' | ||
- 'docs/en/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-versioned-publish.yml@main | ||
with: | ||
# Refers to Vercel project | ||
project-name: elastic-dot-co-docs-preview-docs | ||
# Which prebuild step (dev or not) | ||
prebuild: wordlake-docs | ||
# Docsmobile project dir | ||
site-repo: docs-site | ||
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: ${{ secrets.VERCEL_PROJECT_ID_ELASTIC_DOT_CO_DOCS_PRODUCTION_PUBLIC }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Delete serverless directory in backports | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '7.*' | ||
- '8.*' | ||
|
||
jobs: | ||
check-and-delete-serverless: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check for existence of docs/en/serverless directory | ||
id: check_serverless | ||
run: | | ||
if [ -d "docs/en/serverless" ]; then | ||
echo "SERVERLESS_EXISTS=true" >> $GITHUB_ENV | ||
else | ||
echo "SERVERLESS_EXISTS=false" >> $GITHUB_ENV | ||
fi | ||
- name: Delete docs/en/serverless directory if it exists | ||
if: env.SERVERLESS_EXISTS == 'true' | ||
run: | | ||
rm -rf docs/en/serverless | ||
git config pull.rebase true | ||
git config --global user.name 'github-actions[bot]' | ||
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | ||
git add . | ||
git commit -m "Delete docs/en/serverless directory" | ||
git pull origin ${{ github.head_ref }} | ||
git push origin HEAD:${{ github.head_ref }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.