mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
github-actions: undeploy observability deployments using ephemeral GH tokens (#195215)
This commit is contained in:
parent
d5763658c3
commit
103acda747
1 changed files with 3 additions and 7 deletions
10
.github/workflows/undeploy-my-kibana.yml
vendored
10
.github/workflows/undeploy-my-kibana.yml
vendored
|
@ -21,12 +21,8 @@ jobs:
|
|||
if: contains(github.event.pull_request.labels.*.name, 'ci:project-deploy-observability')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: elastic/apm-pipeline-library/.github/actions/github-token@current
|
||||
with:
|
||||
url: ${{ secrets.OBLT_VAULT_ADDR }}
|
||||
roleId: ${{ secrets.OBLT_VAULT_ROLE_ID }}
|
||||
secretId: ${{ secrets.OBLT_VAULT_SECRET_ID }}
|
||||
|
||||
- uses: elastic/apm-pipeline-library/.github/actions/undeploy-my-kibana@current
|
||||
- uses: elastic/oblt-actions/oblt-cli/undeploy-my-kibana@v1
|
||||
with:
|
||||
token: ${{ env.GITHUB_TOKEN }}
|
||||
github-app-id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
|
||||
github-app-private-key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue