Skip to content

Commit

Permalink
Merge branch 'master' of github.com:scicloj/tablecloth
Browse files Browse the repository at this point in the history
  • Loading branch information
genmeblog committed Mar 24, 2024
2 parents 9a1d43b + 5458632 commit 090971e
Show file tree
Hide file tree
Showing 6 changed files with 4,711 additions and 5,616 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,24 @@ jobs:
deploy-docs:
runs-on: ubuntu-latest

# Only run this job if there were changes in the docs folder
paths:
- ./docs/*

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Check for changes in docs folder
id: docs_check
run: |
git fetch origin master
if [[ $(git diff --name-only origin/${{ github.event.repository.default_branch }} -- './docs') ]]; then
echo "There have been changes to the docs."
echo "docs_changed=true" >> $GITHUB_OUTPUT
else
echo "No changes to the docs."
echo "docs_changed=false" >> $GITHUB_OUTPUT
fi
- name: Deploy documentation
if: ${{ steps.docs_check.outputs.docs_changed == 'true' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs
Expand Down
Loading

0 comments on commit 090971e

Please sign in to comment.