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

Commit

Permalink
integrating build-deploy-storybook into the main workflow and removin…
Browse files Browse the repository at this point in the history
…g get-release-version as it's not needed as per suggestion
  • Loading branch information
georgewrmarshall committed Feb 1, 2024
1 parent c2b6b78 commit c9e9380
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,10 @@ jobs:
env:
SKIP_PREPACK: true

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

0 comments on commit c9e9380

Please sign in to comment.