Skip to content

CI: Adds deployment to GitHub Pages #25

CI: Adds deployment to GitHub Pages

CI: Adds deployment to GitHub Pages #25

Workflow file for this run

name: "CI"
on: pull_request
jobs:
tests:
uses: ./.github/workflows/tests.yml
type-check:
uses: ./.github/workflows/type-check.yml
build:
needs: [tests, type-check]
uses: ./.github/workflows/build.yml
with:
artifact-name: "lib-${{ github.head_ref }}"
build-storybook:
needs: [tests, type-check]
uses: ./.github/workflows/build-storybook.yml
with:
artifact-name: "storybook-${{ github.head_ref }}"
# FIXME (GAFI 19-03-2024): Test
deploy-page:
needs: build-storybook
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
artifact_name: "storybook-${{ github.head_ref }}"