Skip to content

Generate a CI/CD remarkable slideshow from a single markdown and GitHub actions

Notifications You must be signed in to change notification settings

rreichel3/remarkable-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Remarkable Actions

Generate a CI/CD remark slideshow from a single markdown and GitHub actions.

Example Slideshow

Example Repo

Setup

Create a branch to serve your page

This branch should be different from your main or master branch. I'd recommend just calling it something simple like pages.

Author Your Presentation

Create a markdown file in your repo with your presentation and save it as presentation.md in the root of the repository. This can be as simple or complex as you'd like.

If you want to name it something else or place it elsewhere no big deal - you'll need to add the markdown-path option to your actions config and it should pick it up.

If you want to quickly test if you're up and running, feel free to use this boilerplate:

class: center, middle

# Title

---

# Agenda

1. Introduction
2. Deep-dive
3. ...

---

# Introduction

Add an Actions File

I recommend using the following boilerplate in the file .github/workflows/deploy-presentation.yml This will ensure you only build a new presentation when a new commit hits your default branch:

on:
  # Trigger the workflow on push or pull request,
  # but only for the master branch
  push:
    branches:
      - main
      - master

jobs:
  deploy_presentation:
    runs-on: ubuntu-latest
    name: Generate a Remark Presentation
    steps:
    - id: generate-presentation
      uses: rreichel3/remarkable-action
      #with:
        #pages-branch: pages (Default)
        #markdown-path: ./presentation.md (Default)

Browse to your page!

Create a commit on your default branch, let the action run then try to browse to your page!

About

Generate a CI/CD remarkable slideshow from a single markdown and GitHub actions

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages