Update docs.yml
Workflow fix
@@ -17,6 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
+ ref: master
lfs: false
- name: Install OS dependencies
@@ -38,9 +39,6 @@ jobs:
if [[ $GITHUB_REF = "refs/tags/"* ]] ; then echo "OSQP_NAME=osqp-${GITHUB_REF/refs\/tags\//}-${{ runner.os }}" ; else echo "OSQP_NAME=osqp-0.0.0-${{ runner.os }}" ; fi >> $GITHUB_ENV
- name: Build docs
- # Run step only if the branch is not develop-1.0,
- # because we handle it separately in subsequent steps.
- if: github.ref != 'refs/heads/develop-1.0'
run: |
cd docs && make HTMLCOPYDIR=../site/docs html && touch ../site/docs/.nojekyll
