From 3f53b415c037f48bd95ff807a0dfc19f1c09726e Mon Sep 17 00:00:00 2001 From: Gabor Szabo Date: Fri, 26 Jul 2024 07:14:24 +0300 Subject: [PATCH] create github pages --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cff8052b..de7f86d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,12 +42,31 @@ jobs: - name: Check Python version run: python -V + - name: Setup Pages + uses: actions/configure-pages@v4 + + - name: Generate slides run: | cd slides pwd ./generate_slides.py + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + path: html + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 #crystal: # runs-on: ubuntu-latest