docs: Add docs for config self-serve API #2866
Workflow file for this run
This file contains hidden or 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
| name: Deploy pr preview | |
| permissions: {} | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - closed | |
| paths: | |
| - "docs/sources/**" | |
| jobs: | |
| deploy-pr-preview: | |
| if: "!github.event.pull_request.head.repo.fork" | |
| uses: grafana/writers-toolkit/.github/workflows/deploy-preview.yml@main | |
| permissions: | |
| contents: read # Clone repositories. | |
| id-token: write # Fetch Vault secrets. | |
| pull-requests: write # Create or update PR comments. | |
| statuses: write # Update GitHub status check with deploy preview link. | |
| with: | |
| branch: ${{ github.head_ref }} | |
| event_number: ${{ github.event.number }} | |
| repo: loki | |
| sha: ${{ github.event.pull_request.head.sha }} | |
| sources: | | |
| [ | |
| { | |
| "index_file": "content/docs/loki/_index.md", | |
| "relative_prefix": "/docs/loki/latest/", | |
| "repo": "loki", | |
| "source_directory": "docs/sources", | |
| "website_directory": "content/docs/loki/latest" | |
| } | |
| ] | |
| title: ${{ github.event.pull_request.title }} |