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