Skip to content

Commit 404feb9

Browse files
authored
Merge pull request #22 from iamchathu/ci/update-gh-pages-deploy
ci: 👷 update github actions
2 parents bdf6849 + 8c90624 commit 404feb9

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/deploy-gh-pages.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ permissions:
1616
jobs:
1717
deploy:
1818
runs-on: ubuntu-latest
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.build-publish.outputs.page_url }}
1922
# Job steps
2023
steps:
2124
# Manual Checkout
@@ -35,6 +38,7 @@ jobs:
3538

3639
#👇 Add Storybook build and deploy to GitHub Pages as a step in the workflow
3740
- uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3
41+
id: build-publish
3842
with:
3943
install_command: pnpm install
4044
build_command: pnpm build-storybook

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
id-token: write # to enable use of OIDC for npm provenance
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
with:
2323
fetch-depth: 0
2424

0 commit comments

Comments
 (0)