Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit c9e9380

Browse files
integrating build-deploy-storybook into the main workflow and removing get-release-version as it's not needed as per suggestion
1 parent c2b6b78 commit c9e9380

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/publish-release.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,10 @@ jobs:
8585
env:
8686
SKIP_PREPACK: true
8787

88-
get-release-version:
89-
runs-on: ubuntu-latest
90-
needs: publish-npm
91-
outputs:
92-
RELEASE_VERSION: ${{ steps.get-release-version.outputs.RELEASE_VERSION }}
93-
steps:
94-
- uses: actions/checkout@v3
95-
with:
96-
ref: ${{ github.sha }}
97-
- id: get-release-version
98-
shell: bash
99-
run: ./scripts/get.sh ".version" "RELEASE_VERSION"
88+
publish-storybook-to-gh-pages:
89+
name: Publish Storybook to `gh-pages` branch
90+
permissions:
91+
contents: write
92+
uses: ./.github/workflows/build-deploy-storybook.yml
93+
secrets:
94+
PUBLISH_STORYBOOK_TOKEN: ${{ secrets.PUBLISH_STORYBOOK_TOKEN }}

0 commit comments

Comments
 (0)