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

Add GitHub Actions Workflow for Continuous Deployment of HTML Documents #56

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ATQlove
Copy link

@ATQlove ATQlove commented Aug 2, 2024

What

I have added a new GitHub Actions workflow file named cd-convert-debian-bookworm.yml. This workflow automates the continuous deployment (CD) process, including converting documents using TeXmacs and deploying the results to the gh-pages branch.

Why

  1. Through this CD implementation, HTML documents in the docs folder can be automatically deployed to the webpage via GitHub Pages.
  2. TeXmacs requires a graphical environment to run. Since GitHub Actions runs in a headless environment, I included xvfb to simulate a display server, allowing TeXmacs to operate without a physical display.
  3. The workflow is also triggered on pull requests to the main branch to demonstrate to reviewers that the file runs correctly. This trigger condition will be removed once the pull request meets the merge requirements.

@ATQlove
Copy link
Author

ATQlove commented Aug 2, 2024

@da-liii Please help me to see if there is something wrong with this pr, thanks!

@da-liii da-liii marked this pull request as draft August 7, 2024 16:47
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.

1 participant