Skip to content

Commit 8bd5379

Browse files
committed
build: deploy to pages
1 parent 4978c55 commit 8bd5379

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ on:
1717
push:
1818
branches:
1919
- main
20-
concurrency: release
21-
permissions: {}
20+
workflow_dispatch:
21+
permissions:
22+
contents: read
23+
pages: write
24+
id-token: write
2225
jobs:
2326
release:
2427
runs-on: ubuntu-latest
@@ -45,3 +48,9 @@ jobs:
4548
env:
4649
NPM_WOMBAT_TOKEN: ${{ secrets.NPM_WOMBAT_TOKEN }}
4750
if: ${{ steps.release.outputs.release_created }}
51+
- uses: actions/configure-pages@v5
52+
- uses: actions/upload-pages-artifact@v3
53+
with:
54+
path: "storybook-static"
55+
- id: deployment
56+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)