1
0
Fork 0

Update main.yml

master
philipMartini 4 years ago committed by GitHub
parent edd429cd24
commit 5f530daca3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      .github/workflows/main.yml

@ -36,6 +36,18 @@ jobs:
make html
rm -r ../docs/*
cp -r _build/html ../docs
git config --local user.email "f.martini@campus.unimib.it"
git config --local user.name "philipMartini"
git add .
git commit -m "Update documentation" -a || true
# The above command will fail if no changes were present, so we ignore
# that.
- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: master
github_token: ${{ secrets.PYCTBN_TOK }}
# ===============================