mirror of
https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git
synced 2025-08-22 20:25:28 +08:00
finish workflow setup
This commit is contained in:
10
.github/workflows/deploy.yml
vendored
10
.github/workflows/deploy.yml
vendored
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user