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

Github deployment in actions #68

Merged
merged 2 commits into from
Oct 5, 2022
Merged

Github deployment in actions #68

merged 2 commits into from
Oct 5, 2022

Conversation

stefpiatek
Copy link
Collaborator

Had some fun with this, it appears the jekyll out the jekyll deployment is required for the environmental variables to be read within the react app. Also made a change to the modal message because a deployment will be skipped if there aren't any changes

@stefpiatek stefpiatek requested a review from jhughes982 October 5, 2022 13:56
@stefpiatek stefpiatek temporarily deployed to test-env October 5, 2022 13:56 Inactive
Copy link
Collaborator

@jhughes982 jhughes982 left a comment

Choose a reason for hiding this comment

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

👍

Comment on lines -32 to +28
- run: npm run deploy
- run: npm run predeploy
Copy link
Collaborator

Choose a reason for hiding this comment

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

So we want to run predeploy directly here without the full npm run deploy operation?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah because the deploy creates a local commit so we'd need to setup a github user within the action which is a massive pain. Instead we build it and then let the specific github action for deployment handle it

@stefpiatek stefpiatek merged commit 761e4fc into main Oct 5, 2022
@stefpiatek stefpiatek deleted the gh_deployment branch October 5, 2022 14:11
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