adafruit/ci-arduino

doxy_gen_and_deploy.sh assumes it run on Travis

edgar-bonet opened this issue · 2 comments

Although the script attempts to support both Travis and GitHub actions, in some parts it still assumes it runs on Travis. For instance, line 81:

git config user.email "travis@travis-ci.org"

and line 168:

git commit -m "Deploy code docs to GitHub Pages Travis build: ${TRAVIS_BUILD_NUMBER}" -m "Commit: ${TRAVIS_COMMIT}"

This results in commits like this one:

commit 57834c85e08e3dd436743a59b72f2d888dafd2c5
Author: Doxygen CI <travis@travis-ci.org>
Date:   Thu Apr 23 17:51:50 2020 +0000

    Deploy code docs to GitHub Pages Travis build:
    
    Commit:

feel free to submit a PR

I just submitted pull request #91 addressing this issue.