Skip to content

feat: Add storybook (#15) #6

feat: Add storybook (#15)

feat: Add storybook (#15) #6

name: Deploy to Staging
on:
workflow_dispatch:
push:
branches: [main]
concurrency:
group: staging
cancel-in-progress: true
env:
# "branch:$name" or "tag:$name", except for the automatic deploys from pushing to main it's just "main".
version_name: "${{ (github.event_name == 'push' && github.ref_name == 'main' && 'main') || format('{0}:{1}', github.ref_type, github.ref_name) }}

Check failure on line 14 in .github/workflows/deploy-staging.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-staging.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
jobs:
deploy:
name: Deploy to Staging
uses: ./.github/workflows/deploy.yml
with:
env: staging
version-name: ${{ env.version_name }}
secrets: inherit