diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index 9ebcbaa..64fa1aa 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -22,6 +22,16 @@ jobs: run: | python -m pip install -U pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Setting config git + run: | + git config --global user.name ${{secrets.MY_GITHUB_USERNAME}} + git config --global user.email ${{secrets.MY_GITHUB_EMAIL}} + git config --global user.password ${{secrets.MY_GITHUB_PASSWORD}} + - name: Pulling branch 'docs' + run: | + cd site + git pull + cd .. - name: Remove all files in submodule 'site' run: | python clearing.py