Skip to content

try to use github actions #3

try to use github actions

try to use github actions #3

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@v2
- name: Build with mdBook Docker image
run: docker run --rm -v .:/book eliyip/mdbook-katex:latest
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.TOKEN }}
publish_dir: ./book