Skip to content

use secrets

use secrets #2

name: Deploy Storybook
on:
push:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: ["18.x"]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build & Deploy Storybook
run: pnpm -r build-storybook && pnpm exec wrangler pages deploy ./app/storybook-static
with:

Check failure on line 29 in .github/workflows/deploy-storybook.yaml

View workflow run for this annotation

GitHub Actions / Deploy Storybook

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-storybook.yaml (Line: 29, Col: 9): Unexpected value 'with'
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}