Skip to content

inserted link

inserted link #39

Workflow file for this run

name: "Marp to GitHub Pages"
on:
push:
branches: [ main ] # Assicurati che questo corrisponda al tuo branch principale
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install Marp CLI
run: npm install -g @marp-team/marp-cli
- name: Convert Markdown to HTML
run: |
ls -la # Lista i file nella directory
cat introduction.md # Mostra il contenuto del file introduction.md
cat versioncontrol.md
marp --version # Mostra la versione di Marp
marp introduction.md -o index.html --verbose
marp versioncontrol.md -o versioncontrol.html --verbose
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .