Skip to content

PREview environments should use a unique string #3

PREview environments should use a unique string

PREview environments should use a unique string #3

Workflow file for this run

name: "PREview: Update"
on:
pull_request:
types: [synchronize]
jobs:
build:
uses: ./.github/workflows/_build.yaml
with:
output_dir: build
secrets: inherit
deploy-update:
needs: [build]
uses: ./.github/workflows/_deploy.yaml
with:
src_dir: build
bucket: ${{ needs.data.outputs.bucket }}

Check failure on line 19 in .github/workflows/PREview-update.yaml

View workflow run for this annotation

GitHub Actions / PREview: Update

Invalid workflow file

The workflow is not valid. .github/workflows/PREview-update.yaml (Line: 19, Col: 15): Invalid input, bucket is not defined in the referenced workflow.
secrets: inherit
notify:
runs-on: ubuntu-latest
needs: [deploy-update]
steps:
- name: Obtain URL
id: data
uses: ./.github/actions/PREview-data
- uses: mshick/add-pr-comment@v2
if: success()
continue-on-error: true
with:
message: |
**PREview has been updated at ${{ steps.data.outputs.url }}**
repo-token: ${{ secrets.GITHUB_TOKEN }}
allow-repeats: true