Skip to content

ci: fix deploy workflow #3

ci: fix deploy workflow

ci: fix deploy workflow #3

Workflow file for this run

name: Deploy Demo
on: push
jobs:
deploy:
# Only run it if the service account is set,
# to avoid running it on internal forks (e.g. e2e)
if: secrets.STORAGE_SERVICE_ACCOUNT != ''

Check failure on line 9 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / Deploy Demo

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yaml (Line: 9, Col: 9): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.STORAGE_SERVICE_ACCOUNT != ''
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Bootstrap
uses: ./.github/actions/bootstrap
- name: Authenticate Service Account
uses: google-github-actions/[email protected]
with:
credentials_json: ${{ secrets.STORAGE_SERVICE_ACCOUNT }}
- name: Deploy to demo.widgetbook.io
uses: google-github-actions/[email protected]
with:
path: widgetbook/build/web
destination: demo.widgetbook.io
parent: false