Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore deploy-storybook job #2151

Merged
merged 1 commit into from
May 5, 2022
Merged

Restore deploy-storybook job #2151

merged 1 commit into from
May 5, 2022

Conversation

jerivas
Copy link
Member

@jerivas jerivas commented May 4, 2022

Description

Restore the job that deploys to Storybook that was lost when migrating from CircleCI

From #2149 (comment)

@jerivas
Copy link
Member Author

jerivas commented May 4, 2022

@jerivas jerivas requested a review from jgerigmeyer May 4, 2022 22:13
@codecov
Copy link

codecov bot commented May 4, 2022

Codecov Report

Merging #2151 (f574412) into main (4363a91) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main     #2151   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          224       224           
  Lines        11396     11396           
  Branches      1722      1722           
=========================================
  Hits         11396     11396           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4363a91...f574412. Read the comment docs.

Copy link
Member

@jgerigmeyer jgerigmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I'm curious whether this will work without adding a new deploy key or something. On CircleCI we had to add an SSH key for this...

https://github.com/storybookjs/storybook-deployer#deploying-storybook-as-part-of-a-ci-service

Comment on lines +16 to +22
- name: Determine node version
run:
echo "NODE_VERSION=$(grep -oP 'node\K\d+' Dockerfile)" >> $GITHUB_ENV
- uses: actions/setup-node@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: yarn
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing this is just quicker than using our actual container via setup-docker-compose?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, for frontend only stuff this is faster than going through the whole docker setup process

@jgerigmeyer jgerigmeyer merged commit d20f674 into main May 5, 2022
@jgerigmeyer jgerigmeyer deleted the deploy-storybook branch May 5, 2022 19:51
@jgerigmeyer
Copy link
Member

Hrm... Canceling since a higher priority waiting request for 'refs/heads/main' exists

https://github.com/oddbird/Metecho/actions/runs/2277924304

@jgerigmeyer
Copy link
Member

Looks like this is the issue (possibly in addition to needing a token or PAT?): storybook-eol/storybook-deployer#77

https://github.com/oddbird/Metecho/runs/6313167269?check_suite_focus=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants