Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: deploy tagged releases #122

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: deploy tagged release to prod

on:
workflow_dispatch:
push:
branches:
- main
tags:
- 'v*' # Run workflow on version tags, e.g. v1.0.0.

permissions:
contents: 'write'
id-token: 'write'
attestations: 'write'

jobs:
CD:
name: Deploy to dev, ops, and prod
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@main
with:
environment: 'prod'
upload-playwright-artifacts: true # IMPORTANT: we must ensure there are no unmasked secrets in the E2E tests
attestation: true # this guarantees that the plugin was built from the source code provided in the release
104 changes: 0 additions & 104 deletions .github/workflows/plugin-artifact.yml

This file was deleted.

Loading