Deploy Vector Preview Sites #22
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 Vector Preview Sites | ||
| on: | ||
| workflow_run: | ||
| workflows: ["Call Build Preview"] | ||
| types: | ||
| - completed | ||
| permissions: | ||
| contents: read # Restrictive default | ||
| jobs: | ||
| deploy_vector_preview_site: | ||
|
Check failure on line 13 in .github/workflows/build_preview_sites.yml
|
||
| if: ${{ github.event.workflow_run.conclusion == 'success' && contains(github.event.workflow_run.head_branch, 'website') }} | ||
| permissions: | ||
| actions: read # Required to download artifacts | ||
| issues: write # Required to post preview link comments | ||
| pull-requests: write # Required to post preview link comments | ||
| statuses: write # Required to update commit status | ||
| uses: ./.github/workflows/create_preview_sites.yml | ||
| with: | ||
| APP_ID: "d1a7j77663uxsc" | ||
| APP_NAME: "vector.dev" | ||
| secrets: | ||
| REQUEST_TOKEN: ${{ secrets.REQUEST_TOKEN }} | ||
| REQUEST_MESSAGE: ${{ secrets.REQUEST_MESSAGE }} | ||
| ENDPOINT: ${{ secrets.BUILDER_ENDPOINT }} | ||
| deploy_rust_doc_preview_site: | ||
| if: ${{ github.event.workflow_run.conclusion == 'success' && contains(github.event.workflow_run.head_branch, 'website') }} | ||
| permissions: | ||
| actions: read # Required to download artifacts | ||
| issues: write # Required to post preview link comments | ||
| pull-requests: write # Required to post preview link comments | ||
| statuses: write # Required to update commit status | ||
| uses: ./.github/workflows/create_preview_sites.yml | ||
| with: | ||
| APP_ID: "d1hoyoksbulg25" | ||
| APP_NAME: "Rust Doc" | ||
| secrets: | ||
| REQUEST_TOKEN: ${{ secrets.REQUEST_TOKEN }} | ||
| REQUEST_MESSAGE: ${{ secrets.REQUEST_MESSAGE }} | ||
| ENDPOINT: ${{ secrets.BUILDER_ENDPOINT }} | ||
| deploy_vrl_playground_preview_site: | ||
| if: ${{ github.event.workflow_run.conclusion == 'success' && contains(github.event.workflow_run.head_branch, 'website') }} | ||
| permissions: | ||
| actions: read # Required to download artifacts | ||
| issues: write # Required to post preview link comments | ||
| pull-requests: write # Required to post preview link comments | ||
| statuses: write # Required to update commit status | ||
| uses: ./.github/workflows/create_preview_sites.yml | ||
| with: | ||
| APP_ID: "d2lr4eds605rpz" | ||
| APP_NAME: "VRL Playground" | ||
| secrets: | ||
| REQUEST_TOKEN: ${{ secrets.REQUEST_TOKEN }} | ||
| REQUEST_MESSAGE: ${{ secrets.REQUEST_MESSAGE }} | ||
| ENDPOINT: ${{ secrets.BUILDER_ENDPOINT }} | ||