Skip to content

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

.github/workflows/deploy-docs.yml

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

Workflow file for this run

on:
release:
types: [published]
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@v14
- uses: DeterminateSystems/magic-nix-cache-action@v8
- 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 }}