Skip to content

Commit

Permalink
fix: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Dec 14, 2021
1 parent ed2760a commit 557685a
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 557685a

Please sign in to comment.