1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 04:35:28 +08:00

switch to github workflow

This commit is contained in:
krasjet
2022-02-28 18:32:01 +00:00
parent e1d1d55c9d
commit 8bb230f439

25
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: deploy
on:
push:
branches: ['new-theme']
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: set up python 3.4
uses: actions/setup-python@v2
with:
python-version: 3.4
- name: install dependencies
shell: bash
run: |
pip install PyYAML==5.1.2
pip install mkdocs==0.16.3
python setup.py install
- name: build site
shell: bash
run: mkdocs build --clean
- name: check
shell: bash
run: tree