-
Notifications
You must be signed in to change notification settings - Fork 32
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
Adding static storybook to CI #196
Conversation
scripts/makefile/front.mk
Outdated
@@ -55,4 +54,4 @@ storybook: | |||
@echo "Running storybook..." | |||
docker pull $(IMAGE_FRONT) | |||
$(call frontexec, yarn install --ignore-optional --check-files) | |||
$(call frontexec, yarn storybook -p $(FRONT_PORT)) | |||
$(call frontexec, yarn build-storybook --verbose) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
I guess global todo is :
Update existingDonemake storybook
command to generate static files (https://github.com/skilld-labs/skilld-docker-container/blob/195-add-static-storybook/scripts/makefile/front.mk#L53)- Add
make storybook
to list of job inmake all_ci
(https://github.com/skilld-labs/skilld-docker-container/blob/195-add-static-storybook/Makefile#L35) - Add a few commands to
.deploy_template: &deploy_template
(https://github.com/skilld-labs/skilld-docker-container/blob/195-add-static-storybook/.gitlab-ci.yml#L148), at the end ofscript
part with goal to move storybook static files in a dir inside web/ (like it is done here https://github.com/skilld-labs/skilld-docker-container/blob/195-add-static-storybook/.gitlab-ci.yml#L220-L223)
That way, generating static storybook will be part of RA job and everything remains clean.
Is it ok for you ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidferlay, @andypost Have another vision
a036599
to
0fddbf1
Compare
0fddbf1
to
3f03960
Compare
|
b3258dd
to
35ebfe9
Compare
Ready to merge |
No description provided.