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

finish workflow setup

This commit is contained in:
krasjet
2022-03-01 04:04:13 +00:00
parent 8bb230f439
commit a9b0aea79e

View File

@@ -20,6 +20,12 @@ jobs:
- name: build site
shell: bash
run: mkdocs build --clean
- name: check
- name: deploy
shell: bash
run: tree
run: |
cd site
git init
git add .
git -c "user.name=$GH_NAME" -c "user.email=$GH_EMAIL" commit -m "Auto Deployment"
git push -f -q "https://learnopengl-bot:$API_TOKEN@github.com/LearnOpenGL-CN/learnopengl-cn.github.io" master