-
Notifications
You must be signed in to change notification settings - Fork 72
38 lines (36 loc) · 1.05 KB
/
Copy pathpublish.yaml
File metadata and controls
38 lines (36 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Plugins - CD
run-name: Deploy ${{ inputs.branch }} to ${{ inputs.environment }} by @${{ github.actor }}
permissions:
attestations: write
contents: write
id-token: write
pull-requests: read
on:
workflow_dispatch:
inputs:
branch:
description: Branch to publish from. Can be used to deploy PRs to dev
default: main
environment:
description: Environment to publish to
required: true
type: choice
options:
- 'dev'
- 'ops'
- 'prod'
docs-only:
description: Only publish docs, do not publish the plugin
default: false
type: boolean
jobs:
cd:
name: CD
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v10.1.0
with:
branch: ${{ github.event.inputs.branch }}
environment: ${{ github.event.inputs.environment }}
docs-only: ${{ fromJSON(github.event.inputs.docs-only) }}
run-playwright: true
run-playwright-with-skip-grafana-dev-image: true
github-draft-release: false