~garritfra/antimony

ref: 4f85116ebdbd196fe9bcc3044604d3e909821092 antimony/.github/workflows/deploy_docs.yml -rw-r--r-- 673 bytes
4f85116eGarrit Franke fix(ci): action version 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
on:
  push:
    branches:
      - master
name: Deploy to Github Pages
jobs:
  deploy:
    name: deploy
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master

      - name: Setup mdBook
        uses: peaceiris/actions-mdbook@v1
        with:
          mdbook-version: "latest"

      - name: setup python
        uses: actions/setup-python@v2
        with:
          python-version: 3.8
      - run: |
          python build_docs.py

      - name: Disable Jekyll
        run: |
          touch book/.nojekyll

      - name: Deploy
        uses: JamesIves/github-pages-deploy-action@4.1.3
        with:
          branch: gh-pages
          folder: book