From e415372ffef78f15308827efa082596d06284b05 Mon Sep 17 00:00:00 2001 From: ajuvercr Date: Thu, 16 May 2024 11:53:40 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6dfc6e8..e6d5a6f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,8 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - run: mkdir -p dist - run: npm i markdown-to-html-cli -g - - run: markdown-to-html --source index.md --output index.html + - run: markdown-to-html --source index.md --output dist/index.html + - uses: actions/upload-pages-artifact@v3 + with: + path: dist deploy: runs-on: ubuntu-latest