Create an Automated Presentation Workflow
Let’s escape from the PPT hell and create an automated presentation workflow.
In this article let’s explore how we can create an automated presentation workflow.
Create an Automated Presentation Workflow
In a previous article, I talked about using Slidev as an open-source presentation tool. Let’s extend it further to automate and create an end-to-end presentation workflow.
Create a Slidev Project
- Create a Github project called
presentations
. - Clone the project locally to your development machine.
- Create a Slidev project called
presentations
usingyarn
.
$ yarn create slidev
- Navigate to http://localhost:3030 to see the presentation.
Automation using GitHub Pages
- Create
.github/workflows/deploy.yml
- Make sure to set the base href to the GitHub repository. In my case it is
/presentations/
.
run: yarn build --base /presentations/
- Check in the project and validate the GitHub action is triggered successfully under the Actions tab.
- A branch called gh-pages is created.
- Go to Settings| Pages to set the source of GitHub Pages.