Skip to content

Deploy Vector Preview Sites #20

Deploy Vector Preview Sites

Deploy Vector Preview Sites #20

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

View workflow run for this annotation

GitHub Actions / Deploy Vector Preview Sites

Invalid workflow file

The workflow is not valid. .github/workflows/build_preview_sites.yml (Line: 13, Col: 3): Error calling workflow 'connoryy/vector/.github/workflows/create_preview_sites.yml@19edb2578b280f6b2ea40d334d75756c55affd16'. The workflow is requesting 'contents: read', but is only allowed 'contents: none'. .github/workflows/build_preview_sites.yml (Line: 13, Col: 3): Error calling workflow 'connoryy/vector/.github/workflows/create_preview_sites.yml@19edb2578b280f6b2ea40d334d75756c55affd16'. The nested job 'create_preview_site' is requesting 'contents: read', but is only allowed 'contents: none'.
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 }}