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

feat: add generate ci command #621

Merged
merged 4 commits into from
Aug 31, 2023
Merged

feat: add generate ci command #621

merged 4 commits into from
Aug 31, 2023

Conversation

shadows-withal
Copy link
Contributor

Adds a new oranda generate [TYPE] command, with the only type right now being ci. This will push a GitHub actions file to deploy the user's site to GitHub pages.

@shadows-withal
Copy link
Contributor Author

Closes #188. Ignore the majority of changed files, I moved the site templates to a new subfolder to stop the include_dir! logic from picking up unrelated templates.

@shadows-withal shadows-withal marked this pull request as ready for review August 30, 2023 08:33
Copy link
Member

@Gankra Gankra left a comment

Choose a reason for hiding this comment

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

Interesting approach! Some concerns about the output, but the input side is neat.

docs/src/hosting.md Outdated Show resolved Hide resolved
src/generate.rs Show resolved Hide resolved
templates/generate/web.yml.j2 Outdated Show resolved Hide resolved
templates/generate/web.yml.j2 Show resolved Hide resolved
templates/generate/web.yml.j2 Show resolved Hide resolved
templates/generate/web.yml.j2 Show resolved Hide resolved
@shadows-withal shadows-withal merged commit 4cd4151 into main Aug 31, 2023
7 checks passed
@shadows-withal shadows-withal deleted the feat/generate-ci branch August 31, 2023 11:45
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.

None yet

2 participants