Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,26 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Build storybook site
run: npm run build-storybook

- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v4
with:
path: storybook-static/

deploy-site:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: release_node
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

release_pypi:
runs-on: ubuntu-latest
needs: release_node
Expand Down Expand Up @@ -70,4 +90,4 @@ jobs:
poetry config http-basic.pypi_local ${{ secrets.PYPI_USERNAME }} ${{ secrets.PYPI_API_TOKEN }}
poetry build
poetry publish
echo ✅ "Done. Published Package to PyPI."
echo ✅ "Done. Published Package to PyPI."
24 changes: 24 additions & 0 deletions documentation-ui/stories/custom/docs-cookies.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { Meta, StoryObj } from "@storybook/react";
import { ComponentProps } from "react"; // do not remove

import { CookieConsentManager, CookieConsentProvider } from 'src';


export function DocsCookiesDemo() {
return (
<CookieConsentProvider version={1}>
<CookieConsentManager />
</CookieConsentProvider>
)
Comment on lines +7 to +12
}


const meta: Meta<typeof DocsCookiesDemo> = {
component: DocsCookiesDemo,
};

export default meta;

export const Default: StoryObj<typeof DocsCookiesDemo> = {
args: {},
};