Skip to content

Commit

Permalink
switch gh pages to marp
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Feb 6, 2024
1 parent 159d9ed commit 71daaaa
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '20'
- name: Install dependencies
run: npm install
- name: Install slidev
run: npm i -g @slidev/cli
run: npm install -g @marp-team/marp-cli
- name: Build
run: slidev build --base neutronics-workshop-slides
run: marp slides.md -o index.html
- name: Deploy pages
uses: crazy-max/ghaction-github-pages@v3
with:
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 71daaaa

Please sign in to comment.