Skip to content

Commit

Permalink
chore: Merge branch 'refactor/revamp-docs'
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Dec 14, 2021
2 parents d705d87 + 557685a commit f27d6e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: DocumentationHTML
path: docs/_build/
path: docs/_build/ape

- name: Commit and publish documentation changes to gh-pages branch
run: |
if [[ "${GITHUB_EVENT_NAME}" =~ "pull_request" ]]; then
echo "skipping 'git commit' step for PR"
else
git clone https://github.com/${GITHUB_REPOSITORY} --branch gh-pages --single-branch gh-pages
cp -r docs/_build/* gh-pages/
cp -r docs/_build/ape gh-pages/
cd gh-pages
touch .nojekyll
git config --local user.email "action@github.com"
Expand Down

0 comments on commit f27d6e7

Please sign in to comment.