Skip to content

add deploy preview

add deploy preview #3

name: deploy-preview
on:
pull_request:
types:
- opened
- synchronize
- closed
jobs:
deploy-pr-preview:
if: github.repository == 'grafana/writers-toolkit'
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./deploy-preview
with:
website_directory: content/docs/writers-toolkit