mirror of
https://codeberg.org/JasterV/grpc-slides.git
synced 2026-04-26 18:40:03 +00:00
32 lines
794 B
YAML
32 lines
794 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
jobs:
|
|
deploy:
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/configure-pages@v5
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- run: pip install mkslides==1.0.6
|
|
- run: mkslides build docs/
|
|
- uses: actions/upload-pages-artifact@v3
|
|
with:
|
|
path: ./site
|
|
- id: deployment
|
|
uses: actions/deploy-pages@v4
|