Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Update index.md

Update index.md #61

Workflow file for this run

name: marp-to-pages
concurrency: marp-to-pages
on:
push:
branches: [ main, master ]
pull_request:
types:
- opened
- reopened
- synchronize
- closed
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout all the submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Copy images
run: mkdir build && cp -R slides/images build/images
- name: Marp Build (slides folder)
uses: docker://marpteam/marp-cli:v1.7.0
with:
args: -I slides/ -o build/ --no-config --theme marp-viu --theme-set slides-support/slides/themes --bespoke.progress true --bespoke.transition
env:
MARP_USER: root:root
- name: Deploy preview
if: ${{ github.event_name == 'pull_request' }}
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./build/
preview-branch: gh-pages
umbrella-dir: pr-preview
- name: Deploy production
if: ${{ github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ./build/
clean-exclude: pr-preview/