deploy-my-kibana #265246
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 the automation to let Observability team members to deploy a Kibana instance | |
## using the Observability test environments. | |
## It will deploy a new instance for those who add a comment /oblt-deploy | |
## only supported for Elasticians. | |
## | |
## Owner: @elastic/observablt-robots | |
## Further details: https://ela.st/oblt-deploy-my-kibana | |
## | |
name: deploy-my-kibana | |
on: | |
issue_comment: | |
types: | |
- created | |
permissions: | |
contents: read | |
jobs: | |
deploy-my-kibana: | |
if: ${{ github.event.issue.pull_request && github.event.comment.body == '/oblt-deploy' }} | |
runs-on: ubuntu-latest | |
permissions: | |
# if you listen for PRs, use this to use some comment reactions | |
pull-requests: write | |
steps: | |
- uses: elastic/oblt-actions/oblt-cli/deploy-my-kibana@v1 | |
with: | |
github-app-id: ${{ secrets.OBS_AUTOMATION_APP_ID }} | |
github-app-private-key: ${{ secrets.OBS_AUTOMATION_APP_PEM }} |