Skip to content

try to use github actions #5

try to use github actions

try to use github actions #5

Workflow file for this run

name: github pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build with mdBook Docker image
run: docker run --rm -v .:/book eliyip/mdbook-katex:latest
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: "book"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4