Skip to content

.github/workflows/deploy-docs.yml #46

.github/workflows/deploy-docs.yml

.github/workflows/deploy-docs.yml #46

Workflow file for this run

on:
release:
types: [published]
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build .#storybook
- run: nix develop --command npm ci --legacy-peer-deps
- run: nix develop --command npx swa deploy -nu
env:
SWA_CLI_DEPLOY_ENV: production
SWA_CLI_DEPLOYMENT_TOKEN: ${{ secrets.SWA_CLI_DEPLOYMENT_TOKEN }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}