ci: remove broken book workflow (#3613)

This commit is contained in:
Bjerg
2023-07-05 22:41:21 +02:00
committed by GitHub
parent 4e2712bef2
commit 64dec6e36b

View File

@ -105,30 +105,11 @@ jobs:
retention-days: 1
if-no-files-found: error
up-to-date:
runs-on: ubuntu-latest
name: up-to-date
steps:
- uses: actions/checkout@v3
- name: Try to update the book cli documentation
run: make update-book-cli BUILD_PATH=reth/target
- name: Check if the book cli documentation is up to date
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "Error: Documentation is not up to date. Please run \`make update-book-cli\`."
exit 1
else
echo "The documentation is up to date."
fi
deploy:
# Only deploy if a push to main
if: github.ref_name == 'main' && github.event_name == 'push'
runs-on: ubuntu-latest
needs: [test, lint, build, up-to-date]
needs: [test, lint, build]
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions: