From f873007e72804d5d90fd418ec72c96bb47b80dc0 Mon Sep 17 00:00:00 2001 From: Patrick Connolly Date: Sun, 22 Sep 2024 17:37:02 -0400 Subject: [PATCH] Added GitHub Pages workflow. --- .github/workflows/deploy-github-pages.yml | 19 +++++++++++++++++++ .gitignore | 1 + 2 files changed, 20 insertions(+) create mode 100644 .github/workflows/deploy-github-pages.yml diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml new file mode 100644 index 0000000..e7dd941 --- /dev/null +++ b/.github/workflows/deploy-github-pages.yml @@ -0,0 +1,19 @@ +name: Build and Publish Storybook to GitHub Pages + +on: + push: + branches: + - 'main' + +permissions: + contents: read + pages: write + id-token: write + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3 + with: + path: storybook-static diff --git a/.gitignore b/.gitignore index 07e6e47..4474438 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /node_modules +/storybook-static